ASPxWebDocumentViewer.SettingsRemoteSource Property

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v20.2.Web.WebForms.dll

Declaration

public WebDocumentViewerRemoteSourceSettings SettingsRemoteSource { get; }

Property Value

Type Description
WebDocumentViewerRemoteSourceSettings

An object that specifies remote document source settings.

Remarks

The SettingsRemoteSource property allows you to configure the Web Document Viewer to display documents that are created remotely with the DevExpress Report and Dashboard Server.

This property 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.

See Also