PageMethod Not Updating - Project update required to update
I am using the AJAX toolbox:
<ajaxToolkit:CascadingDropDown ID="CategoryDDL_C" runat="server" TargetControlID="CategoryDDL"
Category="Main" PromptText="Please select a category" LoadingText="[Loading...]"
ServiceMethod="MainDDL" />
And for the Service method:
[WebMethod]
[System.Web.Script.Services.ScriptMethod]
public static CascadingDropDownNameValue[] MainDDL(string knownCategoryValues, string category)
{
CascadingDropDownNameValue[] CDDNV = new CascadingDropDownNameValue[1] ;
CDDNV[0] = new CascadingDropDownNameValue(knownCategoryValues + "NO", "1");
return CDDNV;
}
However, if I make code changes in the MainDDL method, this is not reflected in the page until I rebuild the website.
Any hints how I can update the page method without a complete rebuild?
0
source to share