Giter Site home page Giter Site logo

devexpress-examples / reporting_how-to-customize-the-document-viewer-toolbar Goto Github PK

View Code? Open in Web Editor NEW
0.0 55.0 0.0 1.24 MB

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

License: Other

C# 28.80% ASP.NET 44.21% Visual Basic .NET 26.98%
xtrareport xtrareports-suite webdocumentviewer webforms reporting reporting-for-web-forms

reporting_how-to-customize-the-document-viewer-toolbar's Introduction

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

reporting_how-to-customize-the-document-viewer-toolbar's People

Contributors

annagubareva avatar barkovskiymaxim avatar briandx avatar natakazakova avatar pollyndos avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.