AclEditor.OnPreRender Method
Raises the PreRender() event.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Sub OnPreRender ( _
e As EventArgs _
)
'Usage
Dim e As EventArgs
Me.OnPreRender(e)
protected override void OnPreRender(
EventArgs e
)
Parameters
e
Type: System.EventArgsThe data for the event.
Remarks
This override initializes the access rights and rules to be rendered before rendering the AclEditor.
Raising an event invokes the event handler through a delegate. The OnPrerender method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class. Notes for Inheritors When overriding OnPrerender in a derived class, be sure to call the base class's OnPrerender method so that registered delegates receive the event.