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

Open a Report in ASP.NET Core Application

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

Send a report by email

JSReportViewer.PerformCustomDocumentOperation

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

Perform custom actions that depend on the selected export format

WebDocumentViewerClientSideEventsBuilder.CustomizeMenuActions

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

Hide the Preview Parameters panel so that parameters are submitted automatically

Set the Parameter.Visible property to false for all parameters.

Change the "Waiting for parameter values..." text

WebDocumentViewerClientSideEventsBuilder.CustomizeLocalization

Use a custom parameter editor

WebDocumentViewerClientSideEventsBuilder.CustomizeParameterEditors

Hide the Time part in the calendar editor

WebDocumentViewerClientSideEventsBuilder.CustomizeParameterEditors

Validate user input and make the parameter "required"

WebDocumentViewerClientSideEventsBuilder.CustomizeParameterEditors

Obtain selected parameter values and change them

IPreviewModel.GetParametersModel

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

Use the Show Print Dialog on Open setting in PDF Export Options

This option has no effect because most modern browsers disable PDF scripts. Review the following topic for alternatives: Print and Export Without a Preview.

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

Report Designer

Toolbox

How to...

Link to Solution

Remove a control from the Toolbox

ReportDesignerClientSideEventsBuilder.CustomizeToolbox

Properties Panel

How to...

Link to Solution

Hide the Actions group

ReportDesignerClientSideEventsBuilder.BeforeRender

Hide or disable individual editors or sections for the specified control type

JSReportDesigner.GetPropertyInfo

Appearance

How to...

Link to Solution

Register a custom font

ReportDesignerClientSideEventsBuilder.BeforeRender