I am experiencing difficulties in setting default options for exports. I simply want to to set of couple of default options like excel export - data only, csv export - comma as delimiter etc but I cannot find which properties I need to set. How do I find out what forms I need to reference in my code?
I have also noticed that when a user selects current page only for an export, they still get all pages.
Again I have tried to use the email button but my users cannot click on it as it is "hidden" behind the save button.
Chris L
Export options
-
- Posts: 23
- Joined: Wed Apr 13, 2011 7:37 am
- Location: UK
Export options
Hello,
Which version and build of Stimulsoft Reports do you use?
Thank you.
Which version and build of Stimulsoft Reports do you use?
Thank you.
-
- Posts: 23
- Joined: Wed Apr 13, 2011 7:37 am
- Location: UK
Export options
Hi Ivan,
Stimulsoft Reports.Web version 2010.3.
Chris L
Stimulsoft Reports.Web version 2010.3.
Chris L
Export options
Hello,
You can use a ReportExport event of the StiWebViewer component, for example:
Thank you.
You can use a ReportExport event of the StiWebViewer component, for example:
Code: Select all
protected void StiWebViewer1_ReportExport(object sender, StiExportDataEventArgs e)
{
StiExportFormat format = e.Settings.GetExportFormat();
switch (format)
{
case StiExportFormat.Excel:
(e.Settings as StiExcelExportSettings).ExportDataOnly = true;
break;
case StiExportFormat.Csv:
// some settings
break;
}
}
Thank you.