The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebDocumentViewerClientSideEventsBuilder.ParametersSubmitted(String) Method

Sets the name of the JavaScript function or the entire code that will handle the ParametersSubmitted client-side event of the Web Document Viewer.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v19.1.dll


public WebDocumentViewerClientSideEventsBuilder ParametersSubmitted(
    string callback
Public Function ParametersSubmitted(
    callback As String
) As WebDocumentViewerClientSideEventsBuilder


Name Type Description
callback String

The name of a JavaScript function or the entire JavaScript function code used to handle the ParametersSubmitted event.


Type Description

A WebDocumentViewerClientSideEventsBuilder that can be used to further configure the Document Viewer Client Side Events.


The ParametersSubmitted event fires when all parameter values have been entered in the Parameters panel and the Submit button has been pressed. When implementing a handling function, use the objects passed as parameters. The first parameter passes the event sender that is the ClientDocumentViewer object. The second one is an object with the following structure.

  • ParametersViewModel
    A View Model for report parameters.

  • Parameters
    Report parameters and their submitted values.

The code sample below demonstrates how to use this event to automatically collapse the Parameters panel after submitting parameter values.

    var documentViewer = Html.DevExpress().WebDocumentViewer("webDocumentViewer1")
        .ClientSideEvents(configure => { configure.ParametersSubmitted("parametersSubmitted"); });;
See Also