HOW WILL YOU INVOKE A WEB METHOD IN AJAX?

Varun Agrawal

Total Post:159

Points:795
Posted by  Varun Agrawal
AJAX 
 1655  View(s)
Ratings:
Rate this:
  1. Varun Agrawal

    Post:159

    Points:795
    How will you invoke a web method in AJAX?

    Set EnablePageMethods property of ScriptManager to "true"
    And inside Javascript we can directly use
    window.PageMethods.METHODNAME()

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!