If set requires that the control contains a value, otherwise a validation error is thrown
Useful mostly on TextBox controls only.
Namespace:
Mindscape.LightSpeed.Web.WebFormsAssembly: Mindscape.LightSpeed.Web (in Mindscape.LightSpeed.Web.dll)
Version: 4.0.1000.1 (4.0.0.0)
Syntax
C# |
---|
[DefaultValueAttribute(false)] public bool IsRequired { get; set; } |
Visual Basic (Declaration) |
---|
<DefaultValueAttribute(False)> _ Public Property IsRequired As Boolean |