I can use jQuery to change the value of a CascadingDropDown, but the event that fires which causes the target control's child dropdown to populate with data never happens:
$("#<%= ddlFromCompetition.ClientID %>").change(function() {
var fromValue = $("#<%= ddlFromCompetition.ClientID %>").val();
$("#<%= ddlToCompetition.ClientID %>").val(fromValue); // causes value to change, but child doesn't update
});
To be clear, ddlFromCompetition
and ddlToCompetition
are not parent/child. It's the child of ddlToCompetition
that does not update using the above code. When selecting ddlToCompetition
using the mouse, its child dropdown updates as expected.
I've tried calling $("#<%= ddlToCompetition.ClientID %>").change()
to try to force the event to fire, but it doesn't work.