Strange ListBox Problem
Hi!
I am new to ASP.NET programming. I built a very simple ASP.NET application with C# using visual studio 2003. There is a ListBox in there and two buttons, One button is to add items to the ListBox and the other button is to detect which item in the listbox has been selected. It works ok when I run it from visual studio. After I deploy the application to the server, I can still add items to the listbox, but the items had been cleared first when I click on the button to see which item is selected. So it always tell me there is no items in the listbox and nothing is selected. by the way, enablestateview has been set to true for the ListBox and Page_Load function is empty. Is there anyone has a clue on this? Thank you very much in advance.
|