The items in the DropDownList are stored in ViewState, so modifying the actual
DDL in the HTML DOM doesn't affect the ViewState, and thus when posted back
to the server isn't reflected in the server-side DDL. You'll need to build
some other scheme to submit that info to the server. Typically a hidden input
that you manipulate from the same javascript that reorders the DDL. Then
on the server you'll have to reorder the DDL based upon that hidden.
-Brock
DevelopMentor
http://staff.develop.com/ballen
> On my web page, I want to let the user change the order of items in
> the
> LISTBOX.
> I could do that using the javascript , but when the page is submitted
> the
> listbox is reset to its original values.
> what happenig here ?
> I am using ASP.Net with C# as the code behind
>