Frequently Asked Interview Questions

What are the Important properties that are common to all validation controls?

  1. ControlToValidate:- The ID of the control for which the user must provide a value.
  2. ErrorMessage:- Error Message to be displayed if validation fails (Ex: First name is required)
  3. Display :- display mode can be None/Static/Dynamic 
    • None : Validation message is never displayed 
    • Static: Space for the validation message is allocated in the page layout 
    • Dynamic: Space for the validation message is dynamically added to the page if validation fails. 
  4. Text :-  * A star is a conventional way of indicating that a field is required. This text will be displayed only if there is an error 
  5. ValidationGroup:- We can group validators into groups that are treated as a unit.

Most Visited Pages

Home | Site Index | Contact Us