System.Web.UI.WebControls.WebParts.WebPart.Height Property

Gets or sets the height of a zone.

Syntax

public override System.Web.UI.WebControls.Unit Height { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Internet Explorer rendering modes can affect the height of a System.Web.UI.WebControls.WebParts.WebPart control and the height of the zone that contains it. Internet Explorer renders Web pages either in compatibility mode (backward compatible with previous browser versions) or in standards mode (determined by the presence of a DOCTYPE declaration in the page). For information about these modes, see the DHTML tp://go.microsoft.com/fwlink/?LinkId=57175 property.

When Internet Explorer renders a page in standards mode, under some circumstances it might not resize cells in tables, even when a cell's HTML markup is <td height="100%">. As a result, System.Web.UI.WebControls.WebParts.WebPart controls and their containing zone are rendered so that the controls do not stretch to the full height of the zone.

When Internet Explorer is in standard mode, controls do not render to stretch to their full height in the following cases:

Requirements

Namespace: System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0