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

DataSource CRUD Local / Updates on Server

1 Answer 32 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Bilal
Top achievements
Rank 2
Bilal asked on 02 Apr 2015, 08:02 AM
Hi,

I have read the documentation on using DataSource for CRUD locally. However, I am wondering can I use DataSource for local CRUD and then later the user presses on Save button on the form whereby I send all changes (updates, destroyed and created) in one AJAX call to server and then later update the data in the DataSource to signal those that were created with new Ids, updates, and removed ones?

In other words, I am hoping to use DataSource for local storage and data management, however, I handle updating the server and then back updating DataSource.

Thanks

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 06 Apr 2015, 05:53 AM
Hi Bilal,

You can check this example, which illustrates how similar behavior could be achieved. Another approach you can try is to use the Offline mode of the DataSource.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Data Source
Asked by
Bilal
Top achievements
Rank 2
Answers by
Alexander Popov
Telerik team
Share this question
or