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

Update/Destroy operations trigger the error event of the dataSource after updating to Q1 2013 (v. 2013.1 319)

0 Answers 526 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kendo UI
Top achievements
Rank 1
Kendo UI asked on 27 Mar 2013, 10:01 AM
There is a breaking change with the new version of jQuery which affects the Kendo Q1 2013 version 2013.1.319

Since the empty result returned from the server in case everything is executed properly on the server side for the update and destroy requests, the error event of the dataSource is triggered because the empty result is not valid JSON.

The suggested resolutions when using the MVC Extensions are:
  • Use the Latest Internal Build version 2013.1.327
  • Change the response of the Update/Destroy actions from just serializing the ModelState to:
    return Json(ModelState.IsValid ? new object(): ModelState.ToDataSourceResult());


Tags
General Discussions
Asked by
Kendo UI
Top achievements
Rank 1
Share this question
or