Validation Controls
ASP.NET supplies 6 different validation controls, each with some distinct properties besides the few common ones: RequiredFieldValidator RangeValidator MaximumValue (In code behind, MaximumValue=DateTime.Today.ToString(“yyyy/MM/dd”)) MinimumValue (1850/1/1) Type (String or Date) RegularExpressionValidator ValidationExpression – put in regular expression here. There are a few of pre-defined ones. CompareValidator ControlToValidate & ControlToCompare CustomValidator Double-click on design mode to get … Continued