Compartilhar via


BaseFieldControl.OnPreRender Method

Represents the method that handles the PreRender event of a FieldMetadata object.

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

Remarks

The default implementation sets the focus to the BaseFieldControl on the New and Edit forms, if the focus has not already been set.

See Also

Reference

BaseFieldControl Class

BaseFieldControl Members

Microsoft.SharePoint.WebControls Namespace