Export (0) Print
Expand All
Expand Minimize

FormView.RenderOuterTable Property

Gets or sets a value that indicates whether the control encloses rendered HTML in a table element in order to apply inline styles.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual bool RenderOuterTable { get; set; }

Property Value

Type: System.Boolean
true if the control encloses rendered HTML in a table element; otherwise, false. The default is true.

In order to make inline style properties such as ForeColor apply to all the HTML that is rendered for the control, ASP.NET encloses the rendered HTML in a table element. If you do not want the outer table element to be rendered, set this property to false. In that case, if you try to set inline style properties that apply to the whole control, an exception is thrown.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft