This question is locked. New answers and comments are not allowed.
I put this line of code into my global.asax Application_Start
DI.Current.Register<IGridActionResultFactory>(() => new CustomGridActionResultFactory());
and my CustomGridActionResultFactory class
public class CustomGridActionResultFactory : IGridActionResultFactory
{
public ActionResult Create(object model)
{
//return a custom JSON result which will use the Json.Net library
return new CustomJsonResult { Data = model };
}
}
Tlerik Grid never call my create method at all. What is missing, does my method Create is ok?
Source from StackOverflow forum here