Page 1 of 1

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

Posted: Thu Oct 01, 2015 3:39 pm
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.

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

Posted: Fri Oct 02, 2015 10:07 am
by HighAley
Hello.

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

Thank you.

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

Posted: Thu Oct 15, 2015 2:04 pm
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)

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

Posted: Fri Oct 16, 2015 9:16 am
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.