Export (0) Print
Expand All

DataControlField.InsertVisible Property

Note: This property is new in the .NET Framework version 2.0.

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)

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft