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 / minakshi

set VlidationGroup property of validator.

Is This Answer Correct ?    14 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If there are multiple update panels on the page say upd1 and upd2. There is a button placed in upd1. How can you stop upd2 to update when button placed in upd1 is clicked?

573


What is the difference between equals() and == in c#?

572


Can action method static?

535


What are different methods of session maintenance in asp.net?

567


Where is the view state data stored in asp net?

563






What is a 1x1 pixel?

532


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 viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

527


What is postback request?

554


Who can consume WebAPI?

591


What is the function of new view engine in asp.net? : asp.net mvc

545


Is asp.net free?

555


What is ispostback method in asp.net? Why do we use that?

577


What is active web pages?

508


Define what is razor? : asp.net mvc

580