This topic has not yet been rated - Rate this topic

DataFormWebPart.CanHaveServerControls Property

SharePoint 2010

Gets or sets a Boolean value that indicates whether the current Web Part can render server controls.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebBrowsableAttribute(false)]
[BrowsableAttribute(false)]
public virtual bool CanHaveServerControls { get; set; }

Property Value

Type: System.Boolean
true if the current Web Part can render server controls; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ