SPWebPartManager.CheckRenderClientScript Method

Indicates whether the SPWebPartManager is required to register client scripts on the page.

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

Syntax

'Declaration
Protected Overrides Function CheckRenderClientScript As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.CheckRenderClientScript()
protected override bool CheckRenderClientScript()

Return Value

Type: System.Boolean
true if the SPWebPartManager is required to register client scripts on the page; otherwise, false.

Remarks

This method always returns false to prevent the SPWebPartManager from registering client scripts on the page.

See Also

Reference

SPWebPartManager Class

SPWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace