Hello!
I would like to use JavaScript to transfer Listitems between ListBox1 and
ListBox2 without post-back. Is it possible to post all values in ListBox2 to
the server once user submits the form?
Please take a look at Demo 2
http://www.fluentconsulting.com/com.../>
px#example2
Thanks!
JamesSure, onsubmit higlight all values in listbox2 (using javascript) and on
postback use request.Form.
problem with this approach is that you don't know what the value selected
was...so if you need to know which item the user selected in listbox2:
on submit, FIRST copy the selected value of ListBox2 to a hidden text field,
THEN select all fields in listbox2...
Karl
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"James T." <gimenei@.hotmail.com> wrote in message
news:e80S3ZRZFHA.3184@.TK2MSFTNGP15.phx.gbl...
> Hello!
> I would like to use JavaScript to transfer Listitems between ListBox1 and
> ListBox2 without post-back. Is it possible to post all values in ListBox2
> to the server once user submits the form?
> Please take a look at Demo 2
> http://www.fluentconsulting.com/com...
aspx#example2
>
> Thanks!
> James
>
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment