Viewer toolbar - suggestion

Stimulsoft Reports.NET discussion
Post Reply
jamesk
Posts: 23
Joined: Thu Apr 12, 2007 12:47 pm

Viewer toolbar - suggestion

Post by jamesk »

I ran into a situation that I was wondering if it would be possible for Stimulsoft to add a new toolbar that has only button for each export item(PDF, Excel, HTML, etc.) to the Viewer control. Currently, the export items are available in the main toolbar of the Viewer control, by clicking the dropdown of the Export button.

It would be very nice if we were able to show another toolbar that only had the export buttons. Thanks
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Viewer toolbar - suggestion

Post by Vital »

You can do this toolbar manually. StiWebViewer have special methods for each type of export:

Code: Select all

ProcessPdfRequest();
ProcessXpsRequest();
ProcessHtmlRequest();
ProcessMhtRequest();
ProcessDbfRequest();
ProcessRtfRequest();
ProcessXlsRequest();
ProcessXlsXmlRequest();
ProcessExcel2007Request();
ProcessTextRequest();
ProcessCsvRequest();
You need only call specified method. For also you need hide standard toolbar. You can do this with property ShowToolBar.

Thank you.
Post Reply