Share via


UrlField.OnLoad Method

Represents the method that handles the Load event.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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

This method calls the parent method OnLoad and, for the first request of the current page (that is, a nonpostback request), it initializes the Url property to a default string (that is not a valid URL) if it doesn't already have a value.

See Also

Reference

UrlField Class

UrlField Members

Microsoft.SharePoint.WebControls Namespace