By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,111 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Reading Select control from server side which was modified on the client side

P: n/a
Hi,
I've got an html Select box on the client side for which I add the
Options/items on the client side. The options are created dynamically
through textbox and button controls on the same page.
When I submit the page, I want to be able to read all the
Options/items added to the select box. However, I do not see the
changes made. I keep seeing an empty select box from the server.
How can I pass the new options/items to the server side. Keep in mind
that I'd like to pass all the items for that select box and not just
the selected ones.

Thanks.
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
To do that, you must maintain in the server the html select data....(if you
are going every time to server)

In the other case, if you are not going to the server every click, you must
be saving the select data in other kind of tag, because the select tag only
upload its current value, not the list.

You can use a textarea, o use the select but using a hidden tag also
containing a comma-separated values.

"Azmarae" <sh******@yahoo.com> wrote in message
news:bc**************************@posting.google.c om...
Hi,
I've got an html Select box on the client side for which I add the
Options/items on the client side. The options are created dynamically
through textbox and button controls on the same page.
When I submit the page, I want to be able to read all the
Options/items added to the select box. However, I do not see the
changes made. I keep seeing an empty select box from the server.
How can I pass the new options/items to the server side. Keep in mind
that I'd like to pass all the items for that select box and not just
the selected ones.

Thanks.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.