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.
To prevent validation to occur on the click of the Cancel button, set the
CausesValidation
property to
false
<asp:Button ID="btnCancel" runat="server" CausesValidation="false" Text="Cancel" />
Let me know your feedback.