Skip to main content
All docs
V18.2

ASPxClientReportDesigner.BeforeRender Event

Occurs before the Web Report Designer UI is initialized.

Namespace: DevExpress.XtraReports.Web.Scripts

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

Declaration

public event ASPxClientReportDesignerBeforeRenderEventHandler BeforeRender

Event Data

The BeforeRender event's data class is Object.

The event data class exposes the following methods:

Method Description
Equals(Object, Object) Determines whether the specified object instances are considered equal.
Equals(Object) Determines whether the specified object is equal to the current object.
Finalize() Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
GetHashCode() Serves as the default hash function.
GetType() Gets the Type of the current instance.
MemberwiseClone() Creates a shallow copy of the current Object.
ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance.
ToString() Returns a string that represents the current object.

Remarks

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>
See Also