From 54e89be0ca5bb335491fc5ca2d945b0146b92abd Mon Sep 17 00:00:00 2001 From: Fernando Blankleder Date: Fri, 23 Sep 2016 11:04:27 -0300 Subject: [PATCH] Support Sessions Hi, to properly support sessions ( as for refreshing and using session values mvcgridconfig.cs to filter data or build the query ) the handler must implement IRequiresSessionState. --- MVCGrid/Web/MVCGridHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVCGrid/Web/MVCGridHandler.cs b/MVCGrid/Web/MVCGridHandler.cs index fd62ccd..feb2712 100644 --- a/MVCGrid/Web/MVCGridHandler.cs +++ b/MVCGrid/Web/MVCGridHandler.cs @@ -16,7 +16,7 @@ namespace MVCGrid.Web { - public class MVCGridHandler : IHttpHandler + public class MVCGridHandler : IHttpHandler, System.Web.SessionState.IRequiresSessionState { static object _lock = new object(); static bool _init = false;