Skip to main content
A newer version of this page is available. .

WebDocumentViewerRemoteSourceSettings Class

Provides settings for the Web Document Viewer‘s remote document source.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v19.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

public class WebDocumentViewerRemoteSourceSettings :
    PropertiesBase,
    IPropertiesOwner

The following members return WebDocumentViewerRemoteSourceSettings objects:

Library Related API Members
Reporting ASPxWebDocumentViewer.SettingsRemoteSource
ASP.NET Web Forms Controls WebDocumentViewerSettings.SettingsRemoteSource

Remarks

A WebDocumentViewerRemoteSourceSettings object is returned by the ASPxWebDocumentViewer.SettingsRemoteSource property. This property allows you to configure the Web Document Viewer to display documents that are created remotely with the DevExpress Report and Dashboard Server.

This WebDocumentViewerRemoteSourceSettings object provides access to the following properties:

@model MyApplication.Models.DocumentViewerModel

@Html.DevExpress().WebDocumentViewer(settings => {
    settings.Name = "WebDocumentViewer";
    settings.SettingsRemoteSource.ServerUri = Model.ServerUri;
    settings.SettingsRemoteSource.AuthToken = Model.AuthToken;
}).Bind(Model.ReportUrl).GetHtml()

See Display Documents from the Report and Dashboard Server for a step-by-step example.

Inheritance

Object
StateManager
PropertiesBase
WebDocumentViewerRemoteSourceSettings
See Also