Share via


BaseAreaWebPart.OnLoad Method (Object, EventArgs)

NOTE: This API is now obsolete.

Obsolete. Determines what queries need to be issued, based on whether the inheriting class sets properties such as IssueSubAreaQuery to true or false.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")> _
Protected Overrides Sub OnLoad ( _
    sender As Object, _
    e As EventArgs _
)
'Usage
Dim sender As Object
Dim e As EventArgs

Me.OnLoad(sender, e)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[ObsoleteAttribute("This control is obsolete.  Please use PortalSiteMapProvider instead")]
protected override void OnLoad(
    Object sender,
    EventArgs e
)

Parameters

Remarks

If the inheriting class sets public properties and calls its Onload method, the inheriting class needs to call the OnLoad(object,SystemEventArgs) method of the base class.

See Also

Reference

BaseAreaWebPart Class

BaseAreaWebPart Members

OnLoad Overload

Microsoft.SharePoint.Portal.WebControls Namespace