Skip to content

How to handle the client-side CustomizeMenuActions event to customize the Web Document Viewer's Toolbar

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/reporting-web-forms-customize-document-viewer-toolbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporting for Web Forms - How to Customize the Web Document Viewer's Toolbar

This example shows how to handle the client-side CustomizeMenuActions event to hide the existing Highlight Editing Fields toolbar command and add a new Run Slide Show command that navigates through pages.

To get a command, call the event argument's GetById method and pass the command ID as a parameter. To hide a command and its toolbar button, set the command's visible property to false.

To add a new toolbar command, follow the steps below:

  • create an image template (in this example, id = "slideshow")
  • specify all command settings including the imageTemplateName: "slideshow";
  • call the push method to add a command to the event argument's Actions collection.

Files to Review

Documentation

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)