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
- sender
Type: System.Object
Caller
- e
Type: System.EventArgs
Exception
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.