Hi,
I encountered a bug where I set the denied permissions in code.
documentViewer.DeniedPermissions = DocumentViewerPermissions.DownloadAsPdf Or _
DocumentViewerPermissions.Download Or _
DocumentViewerPermissions.Print
The 'Download', 'Save', and 'Print' buttons are hidden.
However, the shortcuts bypass the denied permissions, as it still downloads the PDF when the shortcut Ctrl + S is pressed, and the print dialog shows when Ctrl + P is pressed.
I tried to cancel the event inside the client event function, but it didn't work.
e.preventDefault()
Environment:
.Net Framework 4.7.2
Packages:
GleamTech.Common 6.5.0
GleamTech.DocumentUltimate 7.6.0
P.S.: I found this in the version history that might be related to this problem, even though it is long time ago.
Thanks in advance,
Alex