Skipping Validation Control for one Button or Control

Skipping Validation For Button

Skipping Validation For Button

while designing change password Page
we faced problem related to validation controls
This page was not allowing user to skip Validation when user was pressing back to Login button
here REQUIRED FIELD VALIDATOR is asking us to Enter Old Password which was required field validator

so the solution was to SKIP THE VALIDATION only for one button named
” back to Login “

So the Solution was
inside asp markup source code we use an attribute named


<asp:Button id="cmdBack" CausesValidation="False" runat="server"

which ensures clicking on this Perticular button will skip validation controls


About kakani santosh kumar

Working as Software Engineer in Prithvi Information Solutions having 3 years of Experience in Dotnet Framework ranging from 1.1 to 3.5
This entry was posted in Articles, Programming and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s