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

How to get datatable from RadGrid

4 Answers 260 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 07 Jul 2010, 01:09 PM
i want get Datatable from RadGrid in code behind.
this is way is possible?
i need datatable in my code .
please help me.

4 Answers, 1 is accepted

Sort by
0
IT
Top achievements
Rank 2
answered on 07 Jul 2010, 01:22 PM
Hi ebrahim.

According to Telerik, there is no functionality to do this, unfortunately.  They do offer a suggestion in the following post.

http://www.telerik.com/community/forums/aspnet/grid/radgrid-data-to-datatable.aspx

Hope that helps.

Sundance
0
Oliver
Top achievements
Rank 1
answered on 07 Jul 2010, 03:15 PM
my problem : after editing a row in Modal Dialog or delete a row of grid , i need update data row in grid.
please help me or give me solution for this problem.
0
Oliver
Top achievements
Rank 1
answered on 07 Jul 2010, 03:29 PM
my problem : after editing a row in Modal Dialog or delete a row of grid , i need update data row in grid.
please help me or give me solution for this problem.
0
IT
Top achievements
Rank 2
answered on 07 Jul 2010, 03:31 PM
What type of data source is your grid connected to?  The grid will handle these things for you using your underlying data source if you're using the built-in edit modes and automatic inserts, updates, and deletes. 

So, what do you mean by "modal dialog"?  The grid offers several edit modes - editforms, inplace, and popup. In addition, you can edit in a radwindow.  See the following demo for code on how that works.

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

Enjoy,
Sundance
Tags
Grid
Asked by
Oliver
Top achievements
Rank 1
Answers by
IT
Top achievements
Rank 2
Oliver
Top achievements
Rank 1
Share this question
or