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

ASPxClientWebDocumentViewer.ParametersReset Event

Occurs after report parameter values are reset to their default values.

Namespace: DevExpress.XtraReports.Web.Scripts

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


public event ASPxClientWebDocumentViewerParametersResetEventHandler ParametersReset
Public Event ParametersReset As ASPxClientWebDocumentViewerParametersResetEventHandler

Event Data

The ParametersReset event handler receives an argument of the ASPxClientParametersResetEventArgs type. The following properties provide information specific to this event.

Property Description
Parameters Provides access to report parameters whose values have been reset.
ParametersViewModel Provides access to a View Model for report parameters.


The ParametersReset event fires when an end-user has pressed the Reset button in the Parameters panel, or when the ASPxClientWebDocumentViewer.ResetParameters method has been called.

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

<script type="text/javascript" id="script">
    function parametersReset(s, e) {
        var preview = s.GetPreviewModel();
        if (preview) {

<dx:ASPxWebDocumentViewer ID="ASPxWebDocumentViewer1" runat="server" ReportSourceId="WebReportDesigner.XtraReport1">
    <ClientSideEvents ParametersReset ="parametersReset"/>
See Also