want to know whether i can pass more than two arguments in the above shown webservice method..i intend to implement it in a cascading drop down list.. having two sibling dropdown lists...
so i want to pass three arguments eg..cid, brid, deptid...but a webservice allows only two of the kind...
Hi,
You can pass more information via a third parameter contextKey. For instance:
public static AjaxControlToolkit.CascadingDropDownNameValue[]
GetDropDownContentsPageMethod(string knownCategoryValues, string category, string contextKey)
protected void Page_Load(object sender, EventArgs e)
{
CascadingDropDown2.ContextKey = "contextKeyOf2";
}
Hope this helps.
No comments:
Post a Comment