R
Rick
Hi,
I have an ASP .NET page with codebehind in a vb file.
The page has a dropdown control, and a JS function which used HTTP XML
Request to get the data from the database, and populate the dropdown.
Actually, the JS creates the OPTION elements using th retrieved db
data, and adds them to the SELECT element using DOM objects.
The dropdown works ok, and the items are visible, but when the user
clicks "Save" button, and the page posts back to the server, in the VB
codebehind, the selected value in the dropdown is empty, and the items
collection is empty.
Why is this? How can I fix this behavior?
Thanks in advance,
Richard
I have an ASP .NET page with codebehind in a vb file.
The page has a dropdown control, and a JS function which used HTTP XML
Request to get the data from the database, and populate the dropdown.
Actually, the JS creates the OPTION elements using th retrieved db
data, and adds them to the SELECT element using DOM objects.
The dropdown works ok, and the items are visible, but when the user
clicks "Save" button, and the page posts back to the server, in the VB
codebehind, the selected value in the dropdown is empty, and the items
collection is empty.
Why is this? How can I fix this behavior?
Thanks in advance,
Richard