I am using two WebDropDown controls, in one control during the on_load event all the items will be filled and in the second one depending on the selection from first one, i need to get values from a data source and return it to a service, I can do it from a server side but it will reload the entire page, so i thought i can use Ajax model and do it on the client side. What is the best way i can do this, my return values from the service are Dictionary object from C#, i can change this service to return record set or a table if that is better. Any suggestions are greatly appreciated.
Hi,
You can refer to our online sample about cascading dropdowns. There using AJAX and client-side API, dropdowns are refreshed without reloading the whole page. The client API function to use is called loadItems(..) :
http://samples.infragistics.com/2009.1/WebFeatureBrowser/Default.aspx => WebDropDown => Cascade
(The "Cascade Alternative" sample is the same thing, but uses UpdatePanel instead).
For deleting all items on the client side, you can refer to this similar thread:
http://forums.infragistics.com/forums/p/27710/172611.aspx#172611
Hope it helps,
Angel
Normal 0 false false false MicrosoftInternetExplorer4
Cascade alternative example answered my question. Appreciate for your quick response.