SOLVED - Preview Issues (maybe)

Stimulsoft Reports.NET discussion
Post Reply
User avatar
poweredbyporkers
Posts: 28
Joined: Fri Nov 29, 2013 8:42 pm

SOLVED - Preview Issues (maybe)

Post by poweredbyporkers »

Morning,

I have the preview working in winforms but for some reason even though I mark ShowPageNew, ShowPageDelete and ShowPageDesign as false they all appear on the preview form. I can't post an example but it's the same on your custom report viewer sample using 2015.2. Also is it possible to remove the help button and also all options other that Save to PDF from the sub-menu? I know I can do it via the low level SDK calls, as I am, but are there options to do it via your API?
preview.png
preview.png (26.42 KiB) Viewed 1659 times
Last edited by poweredbyporkers on Tue Oct 27, 2015 11:05 pm, edited 1 time in total.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Preview Issues (maybe)

Post by HighAley »

Hello.

We don't see which way you use our viewer.
Please, use static options before initialization of the viewer:

Code: Select all

StiOptions.Viewer.Windows.ShowBookmarksPanel = false;
Stimulsoft.Report.StiOptions.Viewer.Windows.ShowContextMenu = fasle;
Stimulsoft.Report.StiOptions.Viewer.Windows.Exports.ShowPdf = false;
Thank you.
User avatar
poweredbyporkers
Posts: 28
Joined: Fri Nov 29, 2013 8:42 pm

Re: Preview Issues (maybe)

Post by poweredbyporkers »

Excellent once again, but can you extend it to remove the help button in the future? Only asking as it's a complete irreverence inside my application. Should also be able to hide the parameters button I guess.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: SOLVED - Preview Issues (maybe)

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you
Post Reply