This is a migrated thread and some comments may be shown as answers.
After Saved Event
2 Answers 236 Views
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 09 Jul 2012, 11:38 PM

Where am I able to place a jQuery success or fail event on the save event of the Grid that uses a dataSource?




2 Answers, 1 is accepted

Sort by
0
Jerry T.
Top achievements
Rank 1
answered on 10 Jul 2012, 03:30 PM
Can you use the complete or error properties of the datasource update (as shown here on the create)
http://www.kendoui.com/forums/framework/data-source/datasource-success-event.aspx

0
Eva
Top achievements
Rank 1
answered on 19 Jul 2018, 08:30 AM

Hello,

For ASP.NET MVC, if you need to bind the complete event later, here is the javascript code to use :

grid.dataSource.transport.options.create.complete = function(e) {
    //do something after saving
};
Tags
Grid
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Jerry T.
Top achievements
Rank 1
Eva
Top achievements
Rank 1
Share this question
or