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

pulling data from business objects.

2 Answers 68 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom Gibson
Top achievements
Rank 1
Tom Gibson asked on 08 Jul 2008, 12:14 PM
Hi,

I would like to bind the RadGrid to objects rather than to a database.  I'd like each row in the grid to represent the data in a different object. When I do in-line editing in the RadGrid, I'd like the corresponding object to be updated.

Can you point me to any tutorials and/or examples regarding this?

Thanks!

Tom

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Jul 2008, 01:40 PM
Hello Tom,

You can use ObjectDataSource to achieve this. Please check this example for more info:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/CustomPaging/DefaultCS.aspx

If you enable insert, update and delete the grid will call automatically specified methods in ObjectDataSource for this operations.

Best wishes,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Princy
Top achievements
Rank 2
answered on 09 Jul 2008, 05:00 AM
Hi Tom,

You can also refer the following code library submission which explains how to perform Insert/Update/Delete in RadGrid with ObjectDataSource.
Automatic operations with ObjectDataSource control

Thanks
Princy.
Tags
Grid
Asked by
Tom Gibson
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Princy
Top achievements
Rank 2
Share this question
or