Reputation: 961
I am working on a project in which I have a web page named as Booking. I use validation controls as per requirement. They all work properly.
The Problem is that when user open a Booking page and want to move another page without filling any detail. All the validation controls show error message.
How can I stop that?
Upvotes: 0
Views: 283
Reputation: 14781
Set the CauseValidation
property of the control you are using to navigate to the other page to false.
Refer to the following for more information about validation:
Validating ASP.NET Server Controls
Upvotes: 2
Reputation: 3557
on the control you use to move to the other page there a CauseValidation
proprety that you could set to false
.
Upvotes: 2