ASP.NET MVC Controls
IsRequired Property (ColumnBase)

Gets or sets a value that determines whether values in the column are required.
Public Property IsRequired As Nullable(Of Boolean)
public Nullable<bool> IsRequired {get; set;}
By default, this property is set to null, which means values are required, but string columns may contain empty strings. When set to true, values are required and empty strings are not allowed. When set to false, null values and empty strings are allowed.

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


ColumnBase Class
ColumnBase Members



Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum |  Documentation Feedback