asp.net.ph

DataControlField.InsertVisible Property

System.Web.UI.WebControls Namespace   DataControlField Class


.NET Framework version 2.0

Sets or retrieves a value that indicates whether a DataControlField is rendered when its parent control is in insert mode.

Syntax


Inline <asp:datacontrolfield insertvisible = [ true | false ]... >
Script DataControlField.InsertVisible = [ true | false ]

Property Value

This property accepts or returns only a boolean value: true if the field is visible when its parent control is in insert mode; otherwise false. Default value is true.

Remarks

Use the InsertVisible property to show or hide a DataControlField in a data-bound control when its parent data-bound control is in insert mode.

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.

See Also

DataControlField Members   Visible Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph