Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
 InsertVisible Property
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
.NET Framework Class Library
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)

Visual Basic (Declaration)
Public Overridable Property InsertVisible As Boolean
Visual Basic (Usage)
Dim instance As DataControlField
Dim value As Boolean

value = instance.InsertVisible

instance.InsertVisible = value
C#
public virtual bool InsertVisible { get; set; }
C++
public:
virtual property bool InsertVisible {
    bool get ();
    void set (bool value);
}
J#
/** @property */
public boolean get_InsertVisible ()

/** @property */
public void set_InsertVisible (boolean value)
JScript
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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker