Author: piyush.m10 | Posted on: 4/1/2009 1:54:19 AM | Views : 943

 Hi,

      I am using a listbox to display a list of items. This listbox is bound to a datasource which retrieves rows from a stored procedure. I have set its autopostback property to true, and have placed the listbox inside updatepanel of Ajax. Now whenever a user selects an item in the listbox, an automatic postback is triggered. But inside the event handler, I found that the selected index property is always set to -1. Can anyone help me solve the problem. I am using C#.
Thanks in advance.
Regards,
Piyush

...

Go to the complete details ...