Hi,
I have a aspx form on which I have a ListBox control a text field a button (btnA) and a submit button (btnB). The scenario is: the user enters text in the text field and clicks btnA. The value in the text field is added as an option in the list box.
When the user clicks btnB, the form is posted back and I retrieve and store the items in the ListBox in database.
This was working fine untill I was adding values to listbox on server side i.e. after a postback. But due to some requirements by the client, we do not want a post back on btnA click but want to add those values using javascript.
I did that but now the values in the listbox are not available on server even though it is populated.
Can anybody help me in this regard please?
Thanks,
H