We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a65b81c commit f385159Copy full SHA for f385159
src/JQDT.MVC/JQDataTableAttribute.cs
@@ -21,6 +21,12 @@ public override void OnActionExecuted(ActionExecutedContext filterContext)
21
{
22
try
23
24
+ if (!filterContext.RequestContext.HttpContext.Request.IsAjaxRequest())
25
+ {
26
+ filterContext.Result = new HttpNotFoundResult();
27
+ return;
28
+ }
29
+
30
this.PerformOnActionExecuted(filterContext);
31
}
32
catch (Exception ex)
0 commit comments