Share via


XsltListViewWebPart.RequiresWebPartClientScript Method

Returns a value that indicates whether the XsltListViewWebPart has client-side ECMAScript (JavaScript, JScript) to register with the Web Part Page Services Component (WPSC) framework.

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

Syntax

'Declaration
Protected Friend Overrides Function RequiresWebPartClientScript As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.RequiresWebPartClientScript()
protected internal override bool RequiresWebPartClientScript()

Return Value

Type: System.Boolean
true if the XsltListViewWebPart does have client-side ECMAScript (JavaScript, JScript) to register; otherwise, false.

Remarks

This override always returns false.

See Also

Reference

XsltListViewWebPart Class

XsltListViewWebPart Members

Microsoft.SharePoint.WebPartPages Namespace