Answer:
When the page postbacks, then the IsValid property of Page class is set based on the validation controls present in the validationGroup. This group determines the caused validation occurred by the control. For example, if a button control with a validation group, let's say login group is clicked, then the IsValid property will return true if all validation controls whose ValidationGroup property is set to login group are valid.
Asked In: Many Interviews |
Alert Moderator