Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a page to fill with some mandatory fields but when I'm clicking on "back" buton,it givig errors to fill that mandatory fills
Posted
Comments
Krunal Rohit 13-Oct-15 9:14am    
You using ASP validators ?

-KR
[no name] 13-Oct-15 9:31am    
Yes

Create a validation group. and Give that group name to each validations and also to your save button. So it will execute only when you click save button.
 
Share this answer
 
Set the CausesValidation property to false.

Refer this:
http://weblogs.asp.net/scottgu/421647[^]

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900