Can't remove PageNew+Delete+Design buttons from Preview

Stimulsoft Reports.WPF discussion
Post Reply
WalterJKR
Posts: 22
Joined: Tue Mar 18, 2014 6:41 am

Can't remove PageNew+Delete+Design buttons from Preview

Post by WalterJKR »

Hello,

I'm unable to remove PageNew, PageDelete and PageDesign buttons from Preview toolbar on the recent PreRelease version (2015.1.21).

The code (working on the older version):

report.PreviewSettings = (report.PreviewSettings & (int)(~(StiPreviewSettings.PageNew | StiPreviewSettings.PageDelete | StiPreviewSettings.PageDesign)));
StiOptions.Viewer.HotKeys.CtrlShiftNEnabled = false; // PageNew
StiOptions.Viewer.HotKeys.CtrlShiftDEnabled = false; // PageDelete
StiOptions.Viewer.HotKeys.CtrlShiftEEnabled = false; // PageDesign

- the first line was for hiding the buttons, the rest is still working and skips the hotkeys attached to the buttons.

I tried even this code:

report.PreviewSettings = (int)(StiPreviewSettings.Toolbar);

- it contained only Fullscreen button, help button and the mentioned buttons.

Will try current Release version soon and update this thread asap.

Update: preview using ShowWithWpf() method.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can't remove PageNew+Delete+Design buttons from Preview

Post by HighAley »

Hello.

Thank you for bug report.
We have reproduced the issue and need some time for improvement.

Thank you.
MasaMM
Posts: 6
Joined: Thu Oct 15, 2015 1:54 pm

Re: Can't remove PageNew+Delete+Design buttons from Preview

Post by MasaMM »

Aleksey Andreyanov wrote:Hello.

Thank you for bug report.
We have reproduced the issue and need some time for improvement.

Thank you.
I just registered because of this issues. There are also a couple more buttons which won't disappear - please check all of them.
Is there any notification of how and when I will be able to download the fixed version (I bought the Reports.Wpf package)
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Can't remove PageNew+Delete+Design buttons from Preview

Post by HighAley »

Hello.
MasaMM wrote:I just registered because of this issues. There are also a couple more buttons which won't disappear - please check all of them.
Please, send us a list of buttons that you can not hide.
MasaMM wrote:Is there any notification of how and when I will be able to download the fixed version (I bought the Reports.Wpf package)
Send the request to support@stimulsoft.com with the description of the issue and we will inform you when the fix will be available.

Thank you.
Post Reply