G
Guest
I have a group of items in the database that need to be sorted by the client. There is a field in the database that stores the desired order (0, 1, 2, etc...). I would like to allow the client to move the ListBox.Items up and down in the ListBox via JavaScript and then, on the form submit, read the items in the ListBox from the client IN ORDER so I can save the changes in position into the database.
Unfortunately, the server is unaware of the changes in the ListBox. While in the 'for' loop, it remembers from server memory the original order rather than actually read them from the client.
Is there any way to read the actual order of the items from the client?
Unfortunately, the server is unaware of the changes in the ListBox. While in the 'for' loop, it remembers from server memory the original order rather than actually read them from the client.
Is there any way to read the actual order of the items from the client?