There is a login page that has two text boxes with required
field validators on it. The page has a login and cancel
button. How can we ensure that the click on the cancel
button doesnt fire a validation event.

Answers were Sorted based on User's Feedback



There is a login page that has two text boxes with required field validators on it. The page has a..

Answer / madhabendra nath

just write CauseValidation="false" in cancel button property.

Is This Answer Correct ?    48 Yes 1 No

There is a login page that has two text boxes with required field validators on it. The page has a..

Answer / guneetinder singh

By using the validation Group property.

name validation group property of both required field
validator and on login button but not of cancel button.

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More ASP.NET Interview Questions

i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

0 Answers  


What New Features comes with ASP.NET Web API 2.0?

0 Answers  


What is caching? What are the different types of caching?

6 Answers  


What is active web pages?

0 Answers  


Explain about the Class view window?

0 Answers  






What is the typical session identifier?

0 Answers  


One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation .

6 Answers   TCS,


If you want to write your own dot net language, what steps you will you take care?

0 Answers  


What is the Difference between MVC And MVP design pattrens

0 Answers   Symphony,


I am opening Crystal Report in asp.Net 3.5. Report is opening very well but when I click on Refresh button of Crystal Report then it gives "Missing Parameter values" I also tried property of CR Viewer like crViewer.ReuseParameterValuesOnRefresh = True But it is not working. Plz give me solution.

1 Answers  


Which is better viewstate or session?

0 Answers  


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

0 Answers  


Categories