This example demonstrates how to implement CRUD operations with a DataSource that obtains data from a remote Rest service. The DataSource object does not implement CRUD operations out-of-the-box. We can do this using jQuery.ajax. It is also necessary to call the DataSource.load method to "inform" your widget that it is necessary to reload its content.
See also:
Connect to RESTful Service
How to implement the Rest service based on an ASP.NET WebAPI application
Question Comments
Added By: Leovin S at: 8/20/2013 3:38:42 AM
Thank you for the code.But the problem is that it is related to data that is retrieved through the service.I tried getting my data retrieved from my json file but then it shows errors.
So ,if you could give me a stand alone project ,including the data base I would be able to understand very clearly.
I M P R S S I V E after four months working with OData this sample is the Nirvana
Added By: Muhammad Syarif at: 6/10/2014 7:27:29 PMthis tutorial very good.but when i try it and run i get message "No data display" in my emulator.why that happen??
please help me.thank you.
hello devexpress.
i download this source code and run it, i change the destination of database to http://localhost:9839/DataService.svc/Categories
but i just get Loading in my emulator. what the wrong, please help me.thank you
Please test this example with How to implement the Rest service based on an ASP.NET WebAPI application.