[WebMethod]
[System.Web.Script.Services.ScriptMethod]
public AjaxControlToolkit.CascadingDropDownNameValue[] GetCountries(string knownCategoryValues, string category)
{
List<CascadingDropDownNameValue> countryList = new List<CascadingDropDownNameValue>();
DataSet dsCountry = Country.GetCountries();
foreach (DataRow row in dsCountry.Tables[0].Rows)
{
countryList.Add(new CascadingDropDownNameValue(row["Country"].ToString(), row["CountryID"].ToString()));
}
return countryList.ToArray();
}
// register.ascx
///////////////////////////////////////////////////////////////////
Country:
& ...
Go to the complete details ...