Changing ListBox order with Javascript - changes lost on PostBack

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have up and down buttons on my web form which execute Javascript to move
the selected list item up or down in the list.

However, when I post the form back to save the list order in a database, the
original list order is still present and all changes are lost.

Any ideas on how I can overcome this?

James
 
just check if you are binding the listboxes during postback.
(ignore this msg if you are not)
srini
 
The order of the listbox is not posted back to the server. What I've always
done is written the order to a hidden input and parsed that on the server.
 
Back
Top