There are 3 ways you can disable validation:-
1. To disable validation in a specific control:-
- Set the control's CausesValidation property to false.
- CausesValidation="False"
- E.g.:-
<asp:Button id="Button1" runat="server" Text="Cancel" CausesValidation="False"></asp:Button>
2. To disable a validation control:-
- Set the validation control's Enabled property to false.
3. To disable client-side validation:-
- Set the validation control's EnableClientScript property to false.
Hope this will help you.
Saranya Boopathi, if this helps please login to Mark As Answer. | Alert Moderator