Page 1 of 1

Programatic Export Not Applying Filters

Posted: Mon Mar 08, 2021 12:43 am
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 2606 times
combobox Filter settings.PNG
combobox Filter settings.PNG (8.53 KiB) Viewed 2605 times

Re: Programatic Export Not Applying Filters

Posted: Wed Mar 10, 2021 10:52 pm
by Lech Kulikowski
Hello,

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

Thank you.

Re: Programatic Export Not Applying Filters

Posted: Thu Mar 11, 2021 4:59 am
by brett.macpherson
I sent an email with the files to your support address

Re: Programatic Export Not Applying Filters

Posted: Thu Mar 11, 2021 7:32 am
by Andrew
Thank you! We will answer you by email.