I have a textbox , assign required field validator and i
have two buttons 1) save 2) cancel , i want the validator
run only when i click save button, don't validate cancel
button , what to do?
Answer Posted / kuldeep kumar
Use property CauseValidation="false" for the Cancel Button
Is This Answer Correct ? | 87 Yes | 9 No |
Post New Answer View All Answers
Disable Mouse right click on web page in asp.net?
Difference between using directive vs using statement?
Why SessionID changes in every request in asp.net?
What is server infrastructure & server components?
Can you use c# without .net?
What is the default authentication mode for asp.net?
What is Web Server Control Templates.?
Give 2 examples for scenarios when routing is not applied?
What are web beacons used for?
Explain how can you debug your .net application?
How many types of validators are there in asp net?
Define view state.
What are the new data controls in asp.net 2.0?
How do I debug an asp.net application that was not written with visual studio.net and that does not use code-behind?
How would you turn off cookies on one page of your website?