Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataControlField.InsertVisible Property

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

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

abstract InsertVisible : bool with get, set 
override InsertVisible : bool with get, set

Property Value

Type: System.Boolean
true if the field is visible when its parent data-bound control is rendered in insert mode; otherwise, false. The default value is true.

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

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

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft