Ajax call is not calling webmethod which is in aspx.cs page

jack Ryder asked on March 10, 2014 02:50

hi all, 1) i have create one sample test.aspx page in root directory 2)in that i have taken one button (asp button) 3)define client click(onclientclick) 4)in that calling function i have call abc() 5)function abc() is define in

Recent Answers


Sanket Saxena answered on March 10, 2014 05:01

Not pretty clear question

0 votesVote for this answer Mark as a Correct answer

jack Ryder answered on March 10, 2014 06:42

I just want to call webmethod from aspx page using ajax call. my method is define in aspx page.cs page not webservice.cs page

0 votesVote for this answer Mark as a Correct answer

Joshua Adams answered on March 11, 2014 10:23

Are you getting a 404 on your request? Try to use an absolute path...I had to use an absolute path for mine which was placed on the back end of the portal template page in cmspages.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.