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

How to get responses from controller to jsp in batch editing mode.

1 Answer 70 Views
General Disccussions
This is a migrated thread and some comments may be shown as answers.
LEENA
Top achievements
Rank 1
LEENA asked on 18 Dec 2013, 01:44 PM
i have kendo grid with batch editing . By clicking save changes we can do insert , delete  or update operation . Think is in need to get response from my controller to jsp . Like "Succesfully saved the data" . is there is any tag used to get the response from jsp..

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 19 Dec 2013, 01:01 PM
Hello Leena,

Basically each of the CRUD operations that you mentioned should return as response the updated/created/delete object (this is done with the corresponding Dao method). Check the example here:

http://docs.kendoui.com/getting-started/using-kendo-with/jsp/tags/grid/editing


In the cases above the requestEnd dataSource event will be triggered and you can signify success.

In case there is any error the error event of the dataSource will be triggered and you can warn the users that something has gone wrong.

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