Reputation: 29710
Anyone know how to do this?
This does not work: $get("<%= cddToCompetition.ClientID %>").raiseSelectionChanged(null);
I have two separate CascadingDropDown controls, where a change in control A should trigger a change in control B (the one in my example). Control A is not the parent of B.
Upvotes: 0
Views: 908
Reputation: 52241
What if you add AsyncPostBackTrigger trigger
<Triggers>
<asp:AsyncPostBackTrigger ControlID="yourParentControldID" EventName="SelectedIndexChange" />
</Triggers>
Edit:
document.getElementById('<%=yourDropdown.ClientId%>').onchange();
also check this thread fire-dropdown-selectedindexchanged-event-in-javascript
Upvotes: 1