Answer: CausesValidation property determines whether validation must be performed on button click or not, if asp.net validation control are used. It can be either true or false. By default it is true.
It is mostly used for Cancel/Reset button, where we don't want to perform any kind of validations.
<asp:Button ID="btnCancel" runat="server" Text="Cancel"
Visible="false" CausesValidation="false" />
Asked In: Many Interviews |
Alert Moderator