ASPxClientWebDocumentViewer.ParametersSubmitted Event

Occurs after report parameter values are submitted.

Namespace: DevExpress.XtraReports.Web.Scripts

Assembly: DevExpress.XtraReports.v18.1.Web.Scripts.dll

Syntax

public event ASPxClientWebDocumentViewerParametersSubmittedEventHandler ParametersSubmitted

The event handler receives an argument of the ASPxClientWebDocumentViewerParametersSubmittedEventHandler type.

The ParametersSubmitted event fires when all parameter values have been entered in the Parameters panel and the Submit button has been pressed.

You can handle this event to check values of requested report parameters, or to automatically collapse the Parameters panel, as demonstrated below.

<script type="text/javascript" id="script">
    function parametersSubmitted(s, e) {
        var preview = s.GetPreviewModel();
        if (preview) {
            preview.tabPanel.collapsed(true);
        }
    }
</script>

<dx:ASPxWebDocumentViewer ID="ASPxWebDocumentViewer1" runat="server" ReportSourceId="WebReportDesigner.XtraReport1">
    <ClientSideEvents ParametersSubmitted ="parametersSubmitted"/>
</dx:ASPxWebDocumentViewer>

See Also