System.Web.UI.WebControls.DataControlField.InsertVisible Property

Gets a value indicating whether the System.Web.UI.WebControls.DataControlField object is visible when its parent data-bound control is in insert mode.

Syntax

[System.ComponentModel.DefaultValue(true)]
public virtual bool InsertVisible { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

A data-bound control is in insert mode when the state of the current display row is DataControlRowState.Insert.

The System.Web.UI.WebControls.DetailsView control checks the value of this property before it renders a set of fields. If the DataControlField.InsertVisible property is false, the System.Web.UI.Control.Visible property of the System.Web.UI.WebControls.DetailsViewRow object is set to false.

The value of the DataControlField.InsertVisible property is stored in view state.

Requirements

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