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.1.Web.dll

Declaration

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

Parameters

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.

Returns

Type Description
String

A string containing a Web Document Viewer model.