<ajaxToolkit:CascadingDropDown ID="CascadingDropDown1" runat="server" TargetControlID="DropDownList2" Category="Services" PromptText="Please select a services" LoadingText="[Loading services...]" ServicePath="Service.asmx" ServiceMethod="GetDropDownContent" ParentControlID="DropDownList1" SelectedValue="SomeValue" />
[System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public CascadingDropDownNameValue[] GetDropDownContent( string knownCategoryValues, string category) { // your code here..... } [System.Web.Services.WebMethod] [System.Web.Script.Services.ScriptMethod] public CascadingDropDownNameValue[] GetDropDownContent( string knownCategoryValues, string category, string contextKey
SRILATHA .Net Developer
shameer ali shaik
Login to post response