Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Offline data source with add/update errors using odata, web api 2 and local storage

$
0
0

Hello,

 I have been prototyping offline storage with kendo.  

I was able to follow this example and get read to work from local storage with odata.
http://telerikhelper.net/2015/03/05/kendo-ui-data-source-offline-storage-odata-v2-cannot-read-data-from-offline-storage/

However, when I go to update the server by switching to online I run into several problems.

1.  I have to manually delete a __state__ field. 
2.  There seems to always be one blank record in local storage that have to exclude.  Not sure why it is there.
3.  Fails validation errors.

Are there any examples of offline odata sources synching with the server? 
Ideally, I could find an example without a grid but otherwise an update of the grid in the sample project "odata-v4-web-api-binding" showing offline sync would be very helpful.

jb

 


Viewing all articles
Browse latest Browse all 94857

Latest Images

Trending Articles



Latest Images