All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Tasks and Solutions

  • 2 minutes to read

This section contains developer tasks and links to solutions.

Document Viewer

Reporting Operations

How to...

Link to Solution

Open a report

IPreviewModel.OpenReport

Implement a service that the OpenReport method uses to resolve a report name to a report instance

IWebDocumentViewerReportResolver > IReportProvider > ReportStorageExtension

Print a report

IPreviewModel.Print

Toolbar

web-document-viewer-ui-toolbar

How to...

Link to Solution

Add a command to the Toolbar

WebDocumentViewerClientSideEventsBuilder.CustomizeMenuActions

Hide export formats in the Toolbar

ASPxClientCustomizeExportOptionsEventArgs.HideFormat

Remove the Toolbar

WebDocumentViewerClientSideEventsBuilder.CustomizeElements

Tab Panel

web-document-viewer-ui-tab-panel

How to...

Link to Solution

Collapse the Tab Panel

IPreviewModel.tabPanel

Remove the Tab Panel

WebDocumentViewerClientSideEventsBuilder.CustomizeElements

Preview Parameters Panel

/web-document-viewer-ui-parameters-panel

How to...

Link to Solution

Use a custom parameter editor

WebDocumentViewerClientSideEventsBuilder.CustomizeParameterEditors

Hide the Time part in the calendar editor

WebDocumentViewerClientSideEventsBuilder.CustomizeParameterEditors

Select the first item in the lookup value list

WebDocumentViewerClientSideEventsBuilder.CustomizeParameterLookUpSource

Export Options Panel

web-document-viewer-ui-export-panel

How to...

Link to Solution

Customize the Export Options panel

ASPxClientCustomizeExportOptionsEventArgs

Hide the Export Options panel

ASPxClientCustomizeExportOptionsEventArgs.HideExportOptionsPanel

Search Panel

/web-document-viewer-ui-search-panel

How to...

Link to Solution

Disable the F hotkey that expands the Search panel

IAction.hotKey

Remove the Search panel and hide the Search command in the toolbar

SearchAvailable

Document Map Panel

/web-document-viewer-ui-map-panel

How to...

Link to Solution

Show the Document Map panel automatically when the report is loaded

WebDocumentViewerClientSideEventsBuilder.DocumentReady

Document Navigation

How to...

Link to Solution

Click a report element to navigate to another report

WebDocumentViewerClientSideEventsBuilder.PreviewClick

Navigate pages automatically

IPreviewModel.GoToPage

Document Settings

How to...

Link to Solution

Specify a zoom factor when the document is displayed

IPreviewModel.reportPreview