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
what is command line compiler.what are the steps and how it is related to debugging.
Who can consume WebAPI?
What is ipostback?
What is the function of the ViewState property?
Why is asp.net so popular?
What are the different types of cookies in asp.net?
Can you dynamically assign a Master Page?
Why is it preferred to not use finalize for clean up?
What is a postback url?
What is session in asp.net?
Differentiate between a hyperlink control and a linkbutton control.
What are validator? Name the validation controls in asp.net? How do you disable them?
How Can assign alias name for ASP.NET Web API Action?
Explain the asp.net page life cycle.
What is bson in web api?