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

Is there an event that fires after a successful save?

1 Answer 544 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 14 Apr 2017, 05:56 PM

I am using the grid in an MVC environment. I am trapping the Save event as follows:

                .Events(events => events.Change("gridRowChange").Edit("onEdit").Save("onSave"))

Is there an event I can trap that fires after the save has been completed and successful?

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 18 Apr 2017, 10:47 AM
Hi Randy,

The Save event of the Grid will be fired automatically when a dataItem was saved. 

If you would like to perform custom logic when there was an error while saving the data you can use the error event of the DataSource component.

In case you would like to have validation of the input please refer to the resources below that illustrate how you can use validation.



If you have a different feature in mind please describe it in more detail. What are your requirements and what should be the expected result?


Regards,
Viktor Tachev
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Randy
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or