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

report and RadGrid

4 Answers 238 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bruno
Top achievements
Rank 2
Bruno asked on 05 Sep 2008, 10:11 AM
hi I have a RadGrid that gets data from an objectdatasource. At runtime I have manipulated the data represented in RadGrid by applying some filters and groups.

Now I want to export the data in RadGrid (with current filters and groupings applied) into a Tererik Report which is placed in a Telerik Report Viewer on an .aspx page.

is there a convenient way to achieve this?

thanks in advance

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 05 Sep 2008, 10:50 AM
Hi Bruno,

You cannot achieve the desired behavior with RadGrid and Telerik Reporting. The first one is a .NET web control, while the second one is a class library that is referenced in the application using a ReportViewer to show the report. If you need a report with the data you use in RadGrid, you would have to create one by using our Reporting designer and use the built-in filters and groups that come with it. More info can be found in our help documentation.

Kind regards,
Steve
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bruno
Top achievements
Rank 2
answered on 05 Sep 2008, 12:25 PM
Ok - thanks for your response. I'll use one of the RadGrid Export formats to get the reports I need. My limited experience with RadGrid export amounts to exporting just what's in the grid at that time. If I wanted to add supplementary information to the export (i.e. summary information that's not in the RadGrid) is it possible to do that programattically. Example: I have a RadGrid showing all the students enrolled in a course along with details of classrooms and lecturers. But there are a couple of Labels above the RadGrid that show Course details and dates. Is it possible to add the content of these labels to the export?

Thanks
0
Sebastian
Telerik team
answered on 05 Sep 2008, 01:15 PM
Hello Bruno,

In order to include some additional info to the exported document, consider injecting these details to the Caption property of the grid. Thus it should become a part of the exported file.

Other useful exporting tips and tricks you can find in this help topic.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Bruno
Top achievements
Rank 2
answered on 06 Sep 2008, 12:15 AM
Perfect - exactly what I want - Thanks
Tags
General Discussions
Asked by
Bruno
Top achievements
Rank 2
Answers by
Steve
Telerik team
Bruno
Top achievements
Rank 2
Sebastian
Telerik team
Share this question
or