共用方式為


XsltListViewWebPart.OnPreRender Method

Handles the PreRender event.

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

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 ECMAScript (JavaScript, JScript) 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