The code is too long to post so I'll do my best to describe the setup. I have a pair of DropDownLists using the CascadingDropDown extender from the Ajax Control Toolkit. I also have a GridView control inside an UpdatePanel. The GridView works fine by itself but when I add a handler for the value change of either of the CascadingDropDown lists it no longer works. By no longer works I mean the normal RowCommand trigger is never reached and the SelectedIndexChanged method of the CascadingDropDown is triggered. The RowCommand is never reached because the SelectedIndexChanged cause a data bind of the GridView. Once I remove the method capturing the SelectedIndexChanged the GridView works again as expected. Anyone know why the SelectedIndexChanged handler is being triggered on the RowCommand of the GridView?
↧