javascript problem aps.net

P

pl

1) create dropdown lists on server
2) manipulate on client using javascript
3) postback to server for processing and lost the
client side listbox changes made from javascript.
4) why?

defined js in page load:
cboInternalOrigin.Attributes.Add
("OnBlur", "CheckRequiredField()")
 
J

Juan Wajnerman

When the postback data is sent to the server, only
selected items for the list are sent, not the entire
collection of items. The server side control reads the
viewstate data to restore list items, and then receives
the postback data to set which items are selected.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top