Open benjduartejr opened 8 years ago
I am having the same issue. Whatever I change the name to in MVCGridConfig.cs, it fails in RegisterGrids() on the MVCGridDefinitionTable.Add() call, giving me an error saying that "there is already a grid definition with the name". Have you resolved this yet?
Hello, I had the same error. Just remove line "MVCGridConfig.RegisterGrids ();" of the Global.asax This solved the problem.
Make sure that MVCGridDefinitionTable.Add() is used once through the application life cycle .If RegisterGrids() is called in Global.asax and you also have [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(ATCDWebUI.MVCGridConfig), "RegisterGrids")] on top of MVCGridConfig.cs then you will get this error.
The problem started happening after I renamed the project and folders. Deleting /bin fixed this issue for me.
error using mvc grid...pls help. thank you