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.
Can't remove PageNew+Delete+Design buttons from Preview
Re: Can't remove PageNew+Delete+Design buttons from Preview
Hello.
Thank you for bug report.
We have reproduced the issue and need some time for improvement.
Thank you.
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
I just registered because of this issues. There are also a couple more buttons which won't disappear - please check all of them.Aleksey Andreyanov wrote:Hello.
Thank you for bug report.
We have reproduced the issue and need some time for improvement.
Thank you.
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
Hello.
Thank you.
Please, send us a list of buttons that you can not hide.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.
Send the request to support@stimulsoft.com with the description of the issue and we will inform you when the fix will be available.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)
Thank you.