Control Name: RequiredFieldValidator
Property:
1. Background color of Backcolor:rangevalidator controls
2. ControlToValidate: The ID of the control to validate
3. Display: Verify that the control displays behavior.
The valid values are:
- None-Verify that messages are never displayed inline.
- Static-Allocates space in the page layout to display the validation message.
- dynamic-if validation fails, the space used to display the validation message is dynamically added to the page.
4. EnableClientScript: Boolean value that specifies whether client-side validation is enabled.
5, Enabled: Boolean value that specifies whether the validation control is enabled.
6, ErrorMessage:
The text that is displayed in the ValidationSummary control when validation fails.
Note: If you do not set the Text property, it will also appear in the validation control.
7. ForeColor: The foreground color of the control.
8. ID: The unique ID of the control.
9. InitialValue: Specifies the initial value (starting value) of the input control. The default is "".
10, IsValid: Boolean value indicating whether the associated input control passed validation.
11, Runat: Specifies that the control is a server control. Must be set to "server".
12. Text: The message that is displayed when validation fails.
Asp. NET validation control--requiredfieldvalidator