This is a migrated thread and some comments may be shown as answers.

Is there an update for this Code Library project?

1 Answer 83 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 24 Apr 2013, 09:11 PM
This code library project (http://www.kendoui.com/code-library/permalink/NkytUzlZ1ESWI9C7cOx7MQ) works fine with the 2012.2.913 version of the MVC wrapper and script library, but it doesn't work with the 2013.1.319 version of the MVC wrapper and script library.

The thing that i've noticed with this version of the wrapper is the ModelState object is not being serialized properly by the .ToDataSourceResult() method and it returns a null value, in turn the .Json() method is returning an empty result set to the client.

Is this a bug with the .ToDataSourceResult() method? or is there a new way to return ModelState information that I'm not aware of?

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 26 Apr 2013, 06:04 PM
Hello Mike,

At least when I tested the code-library with the new version, the errors were serialized as expected. An error was thrown because of a breaking change in jQuery. I attached the project with the needed modifications added. 

Regards,
Daniel
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Mike
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or