Hello Guys,
I am unable to debug my method written on server side when a call is send to it through jquery using page method.
In response , I get the whole page.
code:
ASPX page:
PageMethods.MyMethod(p1, p2, function(response){
});
ASPX.CS
[System.Web.Services.WebMethod()]
[System.Web.Script.Services.ScriptMethod()]
publicstaticstringMyMethod(stringp1,stringp2){
//Updating database
}
I did ScriptModule entry in web.config, enabled tracing,have ScriptManager and EnablePageMethods is set to true.
Still the server side method is not getting called.
.
please help.
Ng_TechFreak