joeharrison714 / MVCGrid.Net

http://mvcgrid.net
MIT License
75 stars 56 forks source link

Custom View not working #138

Open raynebair opened 6 years ago

raynebair commented 6 years ago

I am trying to use a custom view. And it works on my dev machine, but not on my test server. If I remove the custom view settings, it works fine. So I don't really know what to check. Could it be an auth/permission issue? I have MVCGridErrorDetail turned on and the error message that I get is:

System.ArgumentNullException: Value cannot be null. Parameter name: view at System.Web.Mvc.ViewContext..ctor(ControllerContext controllerContext, IView view, ViewDataDictionary viewData, TempDataDictionary tempData, TextWriter writer) at MVCGrid.Engine.GridEngine.RenderUsingController(GridEngine engine, GridContext gridContext, HtmlHelper helper) at MVCGrid.Engine.GridEngine.RenderPreloadedGridHtml(HtmlHelper helper, IMVCGridDefinition grid, String gridName, Object pageParameters) at MVCGrid.Engine.GridEngine.GetBasePageHtml(HtmlHelper helper, String gridName, IMVCGridDefinition grid, Object pageParameters)