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 / jiten patel

Set Cause Validation="false"

Is This Answer Correct ?    34 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is server infrastructure & server components?

783


What is difference between rest and soap?

578


What is application state?

514


Is asp.net and .net are same or different?

526


How to add DateTime Control in normal DataGrid Server Control?

582






What are the various types of validation controls provided by asp.net?

540


What is state management technique?

543


can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to kiranpulsar2007@gmail.com

1483


What is skin in asp.net?

519


Do gac'ed assemblies have fulltrust?

643


Explain the difference between the web config and machine config.

625


What is a postback ispostback and autopostback in asp net?

480


Mention the execution process for managed code?

538


how can create login from create and written conde in asp.net

1777


Which protocol is used to call web service?

561