I can't seem to find the IsAjaxRequest() method when creating a partial view using ASPX engine. But it is available when I use Razor.
Is there a work around using this method in ASPX engine?
<%
if(Request.IsAjaxRequest()) //compile error because method is not available.
{
//do something
}
%>