Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

RowCommand from Grid Triggering SelectedIndexChanged of CascadingDropDown

$
0
0

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?


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>