PasswordRecovery.RenderOuterTable Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 4.0
Return to top