In the previous sample we discussed the use of AJAX CascadingDropdown control with SQL databinding. In this sample we will learn the use of XML data file to bind the data with CascadingDropdown control using web service method. As AJAX CascadingDropdown extender works with 2 or more ASP.net Dropdownlist controls that enable you to load the primary data in first dropdown and further it populates the second Dropdown list control dynamically with related data on selected index change event of first dropdownlist. All this functionality works without refreshing the ASP.Net web page. To understand the XML Databinding feature of AJAX CascadingDropDown control we have generated a simple XML datafile containing the categories and their related products with the help Northwind SQL database. It will load the category names in first Dropdownlist control that will populate the related products into the second dropdownlist control accroding to the category name selected.
Properties of AJAX CascadingDropdown Control
You can learn the use of above properties from the tutorial of AJAX CascadingDropdown control by following the link given at the bottom of this sample.
Try the sample below to understand the functionality of AJAX CascadingDropdown using XML databinding: