I am getting the following error when binding my Model to a Kendo Grid.
Using the Json.Net serializer with a setting to ignore circular references I am able to get my type serialized without error. So, what I'd like to be able to do is to tell the Kendo framework to use the Json.Net serializer instead of its own built-in DefaultJavaScriptSerializer. Is this possible? I see it implements an IJavaScriptSerializer interface, so I'm hoping I can create my own class that implements this interface (and uses the Json.Net serializer). But I can't figure out how one would tell the Kendo.Mvc.Infrastructure to use my custom implementation of IJavaScriptSerializer.
Please help.
InvalidOperationException: A circular reference was detected while serializing an object of type [my type here]
Using the Json.Net serializer with a setting to ignore circular references I am able to get my type serialized without error. So, what I'd like to be able to do is to tell the Kendo framework to use the Json.Net serializer instead of its own built-in DefaultJavaScriptSerializer. Is this possible? I see it implements an IJavaScriptSerializer interface, so I'm hoping I can create my own class that implements this interface (and uses the Json.Net serializer). But I can't figure out how one would tell the Kendo.Mvc.Infrastructure to use my custom implementation of IJavaScriptSerializer.
Please help.