I have implemented ajax autocompleteExtender and it works well until i included asp.net url router.
this is ajax control
<cc1:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" TargetControlID="TextBox1" MinimumPrefixLength="1" ServiceMethod="SearchText" ServicePath="~/WebService1.asmx"></cc1:AutoCompleteExtender>
when i included this line in global.asax.cs ,i am unable to retrieve methods in WebService1.asmx file
routes.MapPageRoute("searchpage", "{categoryName}/{area}", "~/search.aspx");
how the servicepath should be? it is working in localhost but not in live environment.
thank you