Wednesday, April 22, 2009

Disabling Validation On Cancel Buttons Click In Asp.Net

Disabling Client-Side Validation on cancel button's click
< asp: Button id="CancelButton" runat="server" Text="Cancel" EnableClientScript="False" / >


Disabling Client-Side and Server-Side Validation on cancel button's click
< asp :Button id="CancelButton" runat="server" Text="Cancel" CausesValidation="False" / >

No comments: