I am using DropDownList control inside a GridView I 开发者_如何学JAVAam filling this list from database in the RowBound event. I set the AutoPostBack property to true but the SelectedIndexChached event doesn't fire and when I change selected index nothing happens can anyone help me?
Attach to the RowCommand event of the GridView. See if this event fires when the postback from the dropdownlist happens. If so, you can handle it from here. The reason you might not be getting the notification is because the event bubbles up instead of raises directly, if all this works as mentioned here.
HTH.
精彩评论