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)

public virtual bool InsertVisible { get; set; }
/** @property */
public boolean get_InsertVisible ()

/** @property */
public void set_InsertVisible (boolean value)

public function get InsertVisible () : boolean

public function set InsertVisible (value : boolean)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft