report and RadGrid

5 posts, 0 answers
  1. Bruno
    Bruno avatar
    16 posts
    Member since:
    May 2008

    Posted 05 Sep 2008 Link to this post

    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
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Sep 2008 Link to this post

    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.
  3. DevCraft banner
  4. Bruno
    Bruno avatar
    16 posts
    Member since:
    May 2008

    Posted 05 Sep 2008 Link to this post

    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
  5. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 05 Sep 2008 Link to this post

    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.
  6. Bruno
    Bruno avatar
    16 posts
    Member since:
    May 2008

    Posted 05 Sep 2008 Link to this post

    Perfect - exactly what I want - Thanks
Back to Top
DevCraft banner