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
Hi Andrew,
That's quite strange - is an AJAX request executed when loadItems is called for the second dropdown ?
Thanks,
Angel
Hi Angel
Forgive my ignorance I am a little new to this. How do I tell if an AJAX request is executed?