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

RadGrid - DataSourceID

3 Answers 222 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elango
Top achievements
Rank 1
Elango asked on 16 Jul 2008, 08:08 PM
Hello,
      I have a requirement for RadGrid where i have to specify my datasource which is a System.Collections.Generic.list object. There is no database operation involved in my requirement. The requirement exactly same like below example provided by telerik

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/TemplateFormUpdate/DefaultCS.aspx

But only thing is it doesn't have any samples withtout DB. I need a sample where i need to set my <list> object as datasource.

Regards,
Elango

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Jul 2008, 07:01 AM
Hello Elango,

You can use the same example with ObjectDataSource.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Elango
Top achievements
Rank 1
answered on 18 Jul 2008, 01:23 AM
Hi Vlad,

Thanks for your reply. I am able to use objectsource now.  But is there is a way where i can avoid the session. In the example it uses session where it holds the datatable. Is there any new feature which cares of avoiding the session? If so please send me the sample page urls

Regards,
Elango
0
Vlad
Telerik team
answered on 18 Jul 2008, 05:56 AM
Hello Elango,

Session is used in the example only to prevent permanent deletes, updates and inserts on our live examples.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Elango
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Elango
Top achievements
Rank 1
Share this question
or