CascadingDropDown with a ContextKey RRS feed

  • Question

  • User-1882612923 posted

    I am trying to use a ContextKey in my cascading drop down list but the overloaded method is not being called.

     This is my cascading drop down:

    <ajax:CascadingDropDown ID="ddlCarsExtender" runat="server"



    PromptText="Select a Car"

    LoadingText="[ Loading Cars ]"



    ServicePath="~/Controls/MyDDLWebService.asmx" />


    In my web service my method signiture looks like this:

    public AjaxControlToolkit.CascadingDropDownNameValue[] GetDropDownContents(string knownCategoryValues, string category)




    As soon as I try to add a ContextKey string parameter to the method, the method no longer gets called.  I even tried puting the UseContextKey attribute into my drop down list with no success.

    How do I get the ContextKey variable passed into the method?

    Tuesday, May 26, 2009 5:37 PM


All replies