WebDocumentViewerClientSideModelGenerator.GetJsonModelScript(XtraReport, String, ClientSideModelSettings) Method

Generates a client-side Document Viewer model based on the specified data and serializes this model to Json.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v18.2.Web.dll


public string GetJsonModelScript(
    XtraReport report,
    string controllerUri,
    ClientSideModelSettings settings
Public Function GetJsonModelScript(
    report As XtraReport,
    controllerUri As String,
    settings As ClientSideModelSettings
) As String


Type Name Description
XtraReport report

A report to open in the Web Document Viewer on application start.

String controllerUri

URI of the controller action that processes requests from the Web Document Viewer.

ClientSideModelSettings settings

Settings of the client-side Document Viewer model.


Type Description

A string containing a Web Document Viewer model.

See Also