So I've got an .asp page with an RDS data control on it. On the page, each column's caption is a hyperlink that calls a JavaScript function that is supposed to resort the data based on the column whose caption has been clicked. Simple enough. Here's the code of the sorting function:
Now, when this runs I get an "Object doesn't support this property or method" error on the last line; the line with .Reset.
I've been scouring my books for info on this, but can't seem to find anything useful. Can anyone tell me how the RDS control can think it doesn't support .Reset? Or am I off my rocker - is .Reset really not a method of the RDS control?
Heeeeeeeeeeeeeeeeeeeeelp...this web shit is driving me crazy...
code:<HR>Code:<SCRIPT Language=JavaScript> function sort(asField){ parent.WS_DSO.frmWS.dsoWS.SortColumn = asField; parent.WS_DSO.frmWS.dsoWS.SortDirection = true; parent.WS_DSO.frmWS.dsoWS.Reset; } </SCRIPT>
Now, when this runs I get an "Object doesn't support this property or method" error on the last line; the line with .Reset.
I've been scouring my books for info on this, but can't seem to find anything useful. Can anyone tell me how the RDS control can think it doesn't support .Reset? Or am I off my rocker - is .Reset really not a method of the RDS control?
Heeeeeeeeeeeeeeeeeeeeelp...this web shit is driving me crazy...