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
Define application state variable and session state variable?
What are the differences between code behind and code inline?
If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?
What are the difference between function and stored procedure in .net programming language?
What role “#&&” plays in a querysting?
What is css in asp.net?
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
Is asp.net a language?
What are the new login controls in asp.net 2.0?
Explain the features that make asp.net more used framework? : asp.net mvc
Contrast OOP and SOA. What are tenets of each ?
Explain the difference between asp and asp.net?
How to prepare culture-specific formatting in .net.
What is the use of web.config and machine.config files?
Explain the difference between response.redirect vs server.transfer