PageMethods in ASP.NET failed to work if you have ASP.NET Routing Implemented
I have a web method: [System.Web.Services.WebMethod] public static string getCharacterstics(int product_id, int lang_id) { // code goes here... } I want to access it using PageMethods like: (Provided the condition that i have Enable PageMethods in ScriptManager): <script type="text/javascript"> $(document).ready( function () { $('#characterstics').html("loading"); // '<%= product_id_property %>' , '<%= this.LanguageID %>' PageMethods.getCharacterstics(0 ,0 , OnSave); } ); function OnSave(result) { } </script> I get the error "the http verb post to access path.. is not allowed" I googled it and