Sdílet prostřednictvím


AclEditor.OnPreRender method

Raises the PreRender() event.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub OnPreRender ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreRender(e)
protected override void OnPreRender(
    EventArgs e
)

Parameters

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.

See also

Reference

AclEditor class

AclEditor members

Microsoft.SharePoint.WebControls namespace