views:

331

answers:

1

I am using Ajax enabled page and I did't use any control in this page. Even then SelectedIndexChanged event is not firing. I have added items from database, there is no repeatation and also set autopost back propety="true". I want to add items from database when select one item the selection always shows first element and selectedchanged event is not working.

A: 

Are you rebinding the drop down list after the postback?

Make sure your page level codebehind has the following conditional:

if (!IsPostBack)
{
    // bind my drop down list
}
Scott Muc