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)
Available in Sandboxed Solutions: No


Protected Overrides Sub OnLoad ( _
    e As EventArgs _
Dim e As EventArgs

protected override void OnLoad(
    EventArgs e



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


BaseFieldControl Class

BaseFieldControl Members

Microsoft.SharePoint.WebControls Namespace

Other Resources

How to: Create a Custom Field Type

Custom Field Types

Walkthrough: Creating a Custom Field Type