top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is the "HelperPage.IsAjax" Property?

+1 vote
What is the "HelperPage.IsAjax" Property?
posted Mar 14, 2017 by Jdk

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

HelperPage.IsAjax gets a value that indicates whether Ajax is being used during the request of the Web page.

Namespace: System.Web.WebPages

Assembly: System.Web.WebPages.dll

However, the same can be achieved by checking requests header directly:

Request["X-Requested-With"] == “XmlHttpRequest”. 
answer Mar 29, 2017 by Manikandan J
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.