Share via


BaseFieldControl.OnLoad method

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

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

Syntax

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

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

Parameters

Remarks

Among other things, the default implementation sets Value to the value of ItemFieldValue, provided that the set accessor for Value has been overridden. It also registers the list schema version in a hidden field.

See also

Reference

BaseFieldControl class

BaseFieldControl members

Microsoft.SharePoint.WebControls namespace

Other resources

Patterns of Custom Field Rendering

Custom Field Types

Walkthrough: Creating a Custom Field Type