This topic has not yet been rated - Rate this topic

SPWebPartManager.CheckRenderClientScript Method

SharePoint 2010

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
protected override bool CheckRenderClientScript()

Return Value

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

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ