I am adding a event to refresh a updatePanel when child cascadingDropDown is populated. I was expecting that the populating POST goes first and, when the dropdown is filled, the populated event raises. This way, the updatePanel POST sends the new default value the dropdown has but I can see in firebug network that both POST are launched at the same time and the updatePanel POST still has the pre-populated value of child DropDown.
In a few words: Populated event raise even before the child dropdown is populated.
Relevant code:
```
#//Code behind
ToolkitScriptManager.RegisterStartupScript(Me, Me.GetType,"wireEvents","Sys.Application.add_load(addPopulatedEvent);", True)
//Client scrit:
<script type ="text/javascript" >
function updatePanel() { __doPostBack('<%=UpdatePanel1.ClientID %>', null); }
function addPopulatedEvent(sender, args) {if (!args.get_isPartialLoad()) { $find('<%=cmbRoles_CascadingDropDown.ClientID %>').add_populated(updatePanel); } }
</script>
```
Comments: The issue was fixed, and the fix is included in v15.1.3
In a few words: Populated event raise even before the child dropdown is populated.
Relevant code:
```
#//Code behind
ToolkitScriptManager.RegisterStartupScript(Me, Me.GetType,"wireEvents","Sys.Application.add_load(addPopulatedEvent);", True)
//Client scrit:
<script type ="text/javascript" >
function updatePanel() { __doPostBack('<%=UpdatePanel1.ClientID %>', null); }
function addPopulatedEvent(sender, args) {if (!args.get_isPartialLoad()) { $find('<%=cmbRoles_CascadingDropDown.ClientID %>').add_populated(updatePanel); } }
</script>
```
Comments: The issue was fixed, and the fix is included in v15.1.3