SelectedIndexChanged not starting when using DropDownList inside GridView using ASP.net

I am using a DropDownList control inside a GridView. I populate this list from the database in the RowBound event. I set the AutoPostBack property to true, but the SelectedIndexChached event does not fire, and when I change the selected index, nothing happens, can someone help me?

+3
source share
1 answer

Attach to the RowCommand GridView event. See if this event fires when postback from the drop-down list occurs. If so, you can handle it from here. The reason you can’t receive the notification is because the event is bubbling up rather than rising directly if it all works, as mentioned here.

NTN.

+1
source

All Articles