1
Answer

Get value from control

Ask a question
ali

ali

17y
2.1k
1
Hi all, i have a aspx:text box, aspx:list box and an html button in my webform and when the user type something in the text box and click this value will be added to the list box, i have used javascript for this. now my problem is that, when i tried to take the items in the listbox in csharp code ( in submit button click), i dont get any value ( listbox.items.count shows zero). How can i get the values of this list box at server side code that i have populated at the client side? anyone please help me. I am using .net 2.0 Thanks in Advance... Regards, Ali

Answers (1)