I'm an asp.net newbie.
I have 2 listboxes (lbCouponList,lbCouponSelected).
The second listbox (lbCouponSelected) is populated using Javascript from the items selected in the first listbox (lbCouponList).
When the form is posted back, the lbCouponSelected listbox has none of the items inserted by the javascript client.
* I don't need to re-populate the listbox, I only need to read the items in the lbCouponSelected.*
I found out that if the listbox is pre-populated in the server, I'm able to read the listbox items pre-populated, but not the new items added by the client javascript code.
Any idea how can I read the dynamically populated listbox ?
thanks
I have 2 listboxes (lbCouponList,lbCouponSelected).
The second listbox (lbCouponSelected) is populated using Javascript from the items selected in the first listbox (lbCouponList).
When the form is posted back, the lbCouponSelected listbox has none of the items inserted by the javascript client.
* I don't need to re-populate the listbox, I only need to read the items in the lbCouponSelected.*
I found out that if the listbox is pre-populated in the server, I'm able to read the listbox items pre-populated, but not the new items added by the client javascript code.
Any idea how can I read the dynamically populated listbox ?
thanks