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”.