Share via


BaseXsltListWebPart.OnLoad Method

Handles the Load event.

Namespace:  Microsoft.SharePoint.WebPartPages
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 override registers the required ECMAScript (JavaScript, JScript) on the page if CanHaveServerControls is true, and also registers scripts to display server controls that have been expanded correctly.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace