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

RAD Grid Data as Datasource for Telerik reporting

1 Answer 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Anil K
Top achievements
Rank 1
Anil K asked on 17 Sep 2009, 04:37 PM
We are using R.A.D Grid 2006 and Telerik reporting 2009 in our project.

the rad grid has the ability for the user to edit update and delete. Also we rename the column headers in the item_binding.  the user has the ability for paging and sorting. now we want the datagrid snapshot(data) to be fed to the telerik reporting as the data source.

The usual way of telerik reporting is to be bind a datasource and get the reports. In this case as the user has changed paging and sorting in the rad grid, we want to have them remembered and fed to the reports.

Second question:

simply stated how can pass on the rad grid data as a data source to the telerik report including the paging and sorting state.

Any suggestion would be of great help.

1 Answer, 1 is accepted

Sort by
0
Schlurk
Top achievements
Rank 2
answered on 18 Sep 2009, 04:42 PM
Reading this post it would seem as if the best way would be to rebind the data to your datasource and then use the SortExpressions and FilterExpressions collections and then modify the query you are using to get the data from your datasource that corresponds to what is in the RadGrid. Since the grid contains all the information in terms of sorting/filtering etc. persisting this information between Grid and Reporting would be difficult to do in a single object.
Tags
General Discussions
Asked by
Anil K
Top achievements
Rank 1
Answers by
Schlurk
Top achievements
Rank 2
Share this question
or