A
adouglas
Guest
Im currently working on my first .NET project and Ive hit a bit of a snag. I have a .aspx page which, among other controls, contains a pair of asp:listboxes each accompanied by an html button. Clicking the html button beneath either list calls a bit of Javascript which moves all the selected items from that list over into the other list. This all works fine.
The problem is that when I click on the Save button to post the form back to the server, the VB.NET code on the server end is not seeing the changes to the listboxes that were made by the javascript. It just sees the listboxes as they were when the page was originally sent. Ive tried using Javascript to change the content of a textbox on the client end, and the VB.NET code sees those changes when the page is posted back to the server.
Does anybody know what I have to do to be able to see the changes the Javascript made to the listboxes from the server end?
The problem is that when I click on the Save button to post the form back to the server, the VB.NET code on the server end is not seeing the changes to the listboxes that were made by the javascript. It just sees the listboxes as they were when the page was originally sent. Ive tried using Javascript to change the content of a textbox on the client end, and the VB.NET code sees those changes when the page is posted back to the server.
Does anybody know what I have to do to be able to see the changes the Javascript made to the listboxes from the server end?