on Jul 11, 2008
|Visual Studio version
|To convert code
Telerik online converter
Generate multiple files based on filtering criteria
In some scenarios you might need multiple files depending on some criteria. This can be generally achieved by exporting the whole report and then split it with some program handling your export format. However, this could be quite time consuming when it comes to html, csv, tiff or pdf export where it is not possible to slice the file without additional knowledge about the exported format and in the last case - paid software to edit it. The easiest way to go in such case would be to programmatically render multiple times the report applying different filters, so that the end result would be separated files sliced by some condition. Find attached a sample report with defined filter and report parameter used in the filter. Both windows and web application demonstrating how to change the value of the report's parameter and export the report are available.