Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Do you have a script manager on the page?
http://msdn.microsoft.com/en-us/library/system.web.ui.scriptmanager.enablepagemethods.aspx
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";
}