This example demonstrates how to dynamically create a report based upon the GridView extension at runtime. This means that all filtering, sorting and grouping conditions selected in the grid are also applied in a report. To accomplish this task, it is necessary to create a report with all the necessary bands, bind it to a data source and adjust all the necessary options. You can use this approach if you need to display content of templated columns in your report or insert a report based on GridView to another report.
As it is impossible to get the GridView extension state (its filtering, groping, sorting info), the Session is used to pass the last GridView state to the controller.
See also:
E4476: How to convert and then print an ASPxGridView by using the XtraReport
Example Comments
Added By: Kiran Pratapagiri at: 7/3/2013 3:46:27 AM
Hi,
Thanks for the example.
I think I found the problem with this example. It's not exporting the last column of the Grid.
Please correct the example to export the last column into report.
Thanks