Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to link the Document Viewer with an external Ribbon control

$
0
0
This example demonstrates how to create an external Ribbon toolbar and assign it to the Document Viewer.

To add a Ribbon extension to a view, call the ExtensionsFactory.Ribbon helper method. This method's parameter provides access to the Ribbon settings provided by the RibbonSettings class allowing you to completely customize the extension. To link the created Ribbon with the Document Viewer, set the DocumentViewerSettings.ToolbarMode property to ExternalRibbon and specify the DocumentViewerSettings.AssociatedRibbonName property.

See also:
How to use XtraReports in an ASP.NET MVC application
How to create a report dynamically in the ASP.NET MVC application

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>