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

MetaColumn.AllowInitialValue Property

.NET Framework 4.6 and 4.5

Gets or sets a value that specifies whether a column enables a value to be inserted.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public bool AllowInitialValue { get; }

Property Value

Type: System.Boolean
true if the column enables a value to be inserted; otherwise, false.

The default value is false when the column is read-only and true when the column is not read-only. The default value can be overridden by using the EditableAttribute attribute.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft