Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
571
Webdropdown Loaditems not working
posted

Hi

I am trying to use the Webdropdown (DD) cascading feature, but the client side code does not seem to be working correctly. I am wanting to change data in DD1 which then updates data in DD2. I followed the exact outline as shown on the online documentation. Here is what happens:

The javascript function is being hit by the client side event "selectionChanged" of DD1. I have tested it with the following code:

function portalChanged(sender, e) {

 

    //Gets reference to the productDropDown

    alert("Reached 1")

    var DD2Temp= $find("DD2");

    alert("Reached 2")

 

    alert(e.getNewSelection()[0].get_value())

    DD2Temp.loadItems(e.getNewSelection()[0].get_value());

    alert("done")

}

 

Basically Alert 1, Alert 2 and Alert 3 fire correctly when I make a selectionChange on DD1. It seems to HANG when it tries to call the "loaditems" method. 

To go even further I have loaded all the JS files that ship in the ASPNET_AJAX folder into the page directly to see if I am missing anything. Still not working.

 

Any ideas?

 

Regards

Andrew

Parents Reply Children
No Data