DeniedPermissions="GoFullScreen" (aspx) documentViewer.DeniedPermissions = DocumentViewerPermissions.GoFullScreen;
Added: AllowedPermissions and DeniedPermissions properties to DocumentViewer. Now all actions on the toolbar and the tabs on the left pane can be turned on or off by DocumentViewerPermissions (JS is no more is needed to hide buttons).
Available permissions:
Download DownloadAsPdf Print SelectText NavigatePages NavigateHistory Zoom Pan ChangeFitMode ChangeLayoutMode Rotate Find GoFullScreen ViewThumbnails ViewBookmarks Search
API changes:
- DownloadEnabled="False" -> DeniedPermissions="Download" documentViewer.DeniedPermissions = DocumentViewerPermissions.Download - DownloadAsPdfEnabled="False" -> DeniedPermissions="DownloadAsPdf" documentViewer.DeniedPermissions = DocumentViewerPermissions.DownloadAsPdf - PrintEnabled="False" -> DeniedPermissions = "Print" documentViewer.DeniedPermissions = DocumentViewerPermissions.Print - TextSelectionEnabled="False" -> DeniedPermissions = "SelectText" documentViewer.DeniedPermissions = DocumentViewerPermissions.SelectText
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add notify@gleamtech.com to your trusted senders list in your email software.