Completed
Last Updated: 03 Nov 2017 07:34 by Craig
Craig
Created on: 02 Oct 2014 14:03
Type: Feature Request
3
export drilldown report while maintaining toggle visibility
Need a way to export a drill down report with the visibility toggles as they are set in the Reportviewer.

Currently, if row visibility is something other than the default, if you export a report using the suggessted method:

Dim result As Telerik.Reporting.Processing.RenderingResult = _
		reportProcessor.RenderReport("PDF", ReportViewer2.ReportSource, New Hashtable())

Using fs As New System.IO.FileStream(filenamePDF, System.IO.FileMode.Create)
    fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length)
End Using
 
It loses the user defined visibility and exports the default.

If you use the Reportviewer.ExportReport() call, the report retains it's visibility, HOWEVER it prompts a file save dialogue. Unfortunately we cannot allow file browsing for our clients.

If we simply had an option with ReportViewer.ExportReport() to specify the file path to save to (preventing the file dialogue from popping up), this would be a non-issue.
1 comment
Craig
Posted on: 02 Oct 2014 14:07
P.S. The support department made the following recommendation as a workaround.

"Currently, a possible workaround is to prepare a report definition with all of the toggle actions expanded, and export this definition programmatically."

This contradicts the purpose of a drill-down report and is not an option.