WebDocumentViewerSettings.SettingsRemoteSource Property

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

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v20.2.dll


public WebDocumentViewerRemoteSourceSettings SettingsRemoteSource { get; }
Public ReadOnly Property SettingsRemoteSource As WebDocumentViewerRemoteSourceSettings

Property Value

Type Description

An object that specifies remote document source settings.


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

This property provides access to the following properties:

  • ServerUri - specifies your Report and Dashboard Server URI.
  • AuthToken - specifies the Bearer token used to access documents on the Server.
@model MyApplication.Models.DocumentViewerModel

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

See the Displaying Documents from the Report Server for a step-by-step example.

See Also