DataFormWebPart.CanHaveServerControls Property
SharePoint 2010
Gets or sets a Boolean value that indicates whether the current Web Part can render server controls.
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.Booleantrue if the current Web Part can render server controls; otherwise, false.