Programatic Export Not Applying Filters

Stimulsoft Dashboards.WEB discussion
Post Reply
brett.macpherson
Posts: 42
Joined: Mon Apr 13, 2020 7:29 am

Programatic Export Not Applying Filters

Post by brett.macpherson »

Hi Support,
using Stimulsoft dashboards.web version 2020.5.1 and attemping to export the report directly to PDF instead of rendering it to a web page. Below in the code snippet i am using the StiReport.ExportDocument method to send it directly to a pdf file. However the exported report doesn't quite line up with what you get from the webpage (or even exporting the report from the web page). The report has a commbo box filter on it to only show data for a particular month. But when programmatically exporting the report these filters are no applied so it shows the whole dataset.
export code snippet.PNG
export code snippet.PNG (14.86 KiB) Viewed 2437 times
combobox Filter settings.PNG
combobox Filter settings.PNG (8.53 KiB) Viewed 2436 times
Attachments
website Export.pdf
(59.32 KiB) Downloaded 160 times
Programatic export.pdf
(66.71 KiB) Downloaded 145 times
Lech Kulikowski
Posts: 6197
Joined: Tue Mar 20, 2018 5:34 am

Re: Programatic Export Not Applying Filters

Post by Lech Kulikowski »

Hello,

Please send us a sample that reproduces the issue for analysis.

Thank you.
brett.macpherson
Posts: 42
Joined: Mon Apr 13, 2020 7:29 am

Re: Programatic Export Not Applying Filters

Post by brett.macpherson »

I sent an email with the files to your support address
Andrew
Posts: 4104
Joined: Fri Jun 09, 2006 3:58 am

Re: Programatic Export Not Applying Filters

Post by Andrew »

Thank you! We will answer you by email.
Post Reply