Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DataFormWebPart.CanHaveServerControls property

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)

[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.
Show:
© 2015 Microsoft