Is any possible to disabled the document page?
Question asked by antoteranse - 3/7/2017 at 4:11 AM
    Hi Sir,
      If i have ppt or doc .for ex i have 5 page. the user  read a first page that time they are should not view other page expect give the permission to access the other page document. do you have any click event in the thumpnail slides .

2 Replies

Reply to Thread
Cem Alacayir Replied
Employee Post Marked As Answer
You can use the new ClientPageChange event which is available since v2.7.0. This way you will get an event whenever a page changes, i.e. when clicked on thumbnail or when clicked up/down buttons in the toolbar:
<GleamTech:DocumentViewer ID="documentViewer" runat="server" 
  ClientPageChange="documentViewerPageChange" />

  <script type="text/javascript">
      function documentViewerPageChange(sender, e) {
          alert("Viewing page " + e.pageNumber);
For example, you can show a modal dialog which asks for a permission (blocking the DocumentViewer in the background) in this event.
Let me know if you still need a specific event only for thumbnail click, we can also add it.
ismail saleh Replied
this event can't prevent the user from viewing other pages, would you please provide full sample of preventing user to see others pages on PDF or DOCX

Reply to Thread