I have implemented a Rad Drop-down "Region" and a rad drop-down "Country/Locations" which contains a tree view. The Country/Locations works fine on the page load where all values are populated. However, I am trying the filter the "Country/Locations" drop-down values when the user selected a region. For example by default all countries are listed with their locations as child nodes. When I select "Region" ="All Americas", I want to invoke the server-side ItemRequested event of the "Country/Locations" drop-down control which will clear the existing values and set a new set of data which will contain only the filtered values.
Currently, the item Requested event is firing. However, I get the following javascript-error:
"Script Control 'radTreeLocations' is not a registered script control. Script controls must be registered using register ScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
If I filter the data on the client-side by using this example:
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx
The script takes a long time to execute and i get a warning message
"A script on this page is causing Internet Explorer to run slowly"
Thanks in advance.