Summary: This is the second part of the validation control video. In this section, we add the validation controls to the text boxes and calendar. We also add a validation summary control to the top of the page. This control will summarize all the error messages so the user can easly spot them. We used the RequiredFieldValidator to make sure that the user enter some data. We use the RangeValidator to verify that the data entered by the user is in a acceptable range. We use RegularExpressionValidator to ensure that the data is following a specific format. And finally, we use the CustomValidator to customize our own validation (in this case making sure that the last name does not contain spaces).
: Good coding standard and simplified design.
Technologies: ASP.NET 3.5
Keywords: Label, TextBox, table, Button, Calendar, RequiredFieldValidator, CustomValidator, RangeValidator, RegularExpressionValidator.