AJAX call to WebMethod in my template page returns 404 - Page not found

Hello,

I encountered problem regarding the use of jquery / ajax to call a WebMethod from my TemplatePage. (.aspx file)!

My URL looks like this -> "/MyTemplatePage.aspx/MyWebMethod"

When I call it using $.ajax() it returns 404! I cann't find wrong with my code! 

By the way, below is the concrete defination of my webmethod.

 

[WebMethod(EnableSession=true)]

public static string MyWebMethod(string s1, string s2, string s3)
{
       return "OK";
}

 

#60518
Aug 14, 2012 4:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.