ASPxClientReportDesigner.BeforeRender Event

Occurs before the Web Report Designer UI is initialized.

Namespace: DevExpress.XtraReports.Web.Scripts

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

Declaration

public event ASPxClientReportDesignerBeforeRenderEventHandler BeforeRender
Public Event BeforeRender As ASPxClientReportDesignerBeforeRenderEventHandler

The event handler receives an argument of the ASPxClientReportDesignerBeforeRenderEventHandler type.

Handle the BeforeRender event to perform required actions before the Web Report Designer's UI initialization.

The following code snippet demonstrates how to use this event to hide popular properties from the Properties Panel.

<script type="text/javascript" id="script">
     function BeforeRender(s, e) {
         e.popularVisible = ko.observable(false);
     }
</script>

<dx:ASPxReportDesigner ID="ASPxReportDesigner1" runat="server">
    <ClientSideEvents BeforeRender="BeforeRender"/>
</dx:ASPxReportDesigner>