.NET Framework Class Library
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.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic
Public Overridable Property RenderOuterTable As Boolean
C#
public virtual bool RenderOuterTable { get; set; }
Visual C++
public: virtual property bool RenderOuterTable { bool get (); void set (bool value); }
F#
abstract RenderOuterTable : bool with get, set override RenderOuterTable : bool with get, set
ASP.NET
<asp:FormView RenderOuterTable="True|False" />
Property Value
Type: System.Booleantrue if the control encloses rendered HTML in a table element; otherwise, false. The default is true.
Remarks
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.
Version Information
.NET Framework
Supported in: 4Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also