Share via


XsltListViewWebPart.OnPreRender method

Handles the PreRender event.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Protected Overrides Sub OnPreRender ( _
    e As EventArgs _
)
'Usage
Dim e As EventArgs

Me.OnPreRender(e)
protected override void OnPreRender(
    EventArgs e
)

Parameters

Remarks

This override registers JavaScript and Cascading Style Sheets (CSS) files for the current Page, and makes the Ribbon tabs available for the list.

See also

Reference

XsltListViewWebPart class

XsltListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace