Click here to Skip to main content
15,885,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi sir,
I have one asp.net form with combinations of text boxes and one cancel button. That cancel button contains postback url to some other page. When iam clicking that cancel button cursor validating some text boxes why?
Posted

1 solution

make
C#
CausesValidation=false
for that cancel button. Default
C#
CausesValidation=true
for button. It stops validating the textboxes


make it answer if you got your solution

Thanks
 
Share this answer
 
Comments
raheempasha 30-Jun-12 3:07am    
thanks for immediate answer it's working
Rahul Rajat Singh 30-Jun-12 3:57am    
good answer. +5.
AshishChaudha 30-Jun-12 4:01am    
make it answer raheem..so others can refer to the solution
AshishChaudha 30-Jun-12 4:01am    
Thanks rahul
Arunprasath Natarajan 30-Jun-12 6:47am    
If your requirement is fulfilled then Accept the solution, It would help others.

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