By reporting abuse, a moderator will be asked to review the content of this interaction to take further action, if necessary.
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
Are you sure you want to ban this user?
Trouble logging in? Simply enter your email address in order to reset your password.
A code was sent to the recovery email address. Please provide the 6-digit code.
A code can be retrieved from your authentication app. Please provide the 6-digit code.
An email was sent to your recovery email address. If you need further assistance, please contact your system admin.