Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CanHaveServerControls property
Collapse the table of content
Expand the table of content

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)

public virtual bool CanHaveServerControls { get; set; }

Property value

Type: System.Boolean
true if the current Web Part can render server controls; otherwise, false.
© 2015 Microsoft