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

Explain the difference between debug.write and trace.write? When should each be used?

0 Answers  


Explain Features in ASP.NET

0 Answers   Microsoft,


can i inherit one web applications into another web applications in asp.net?

7 Answers  


How do cookies work? Give an example of their abuse.

0 Answers  


what is machine key error in asp.net? how to solve it?

1 Answers  


What is the caspol.exe tool used for?

0 Answers  


What is application session?

0 Answers  


How do you implement Paging in .Net ?

1 Answers  


What is the use of placeholder control?

0 Answers  


I have a webform in asp.net.In that webform there is 2 division class(DIV).in one of the div class there is a text box for enter the id & a button for to check id with database value.My doubt is that how can i appear the 2nd Div contents only when the id is true with database value.if wrong do not display the div . i Want code in c#.

2 Answers  


How to send data through querystring to another page but it should not be displayed in URL

2 Answers   EMR, Powersoft19,


List the types of authentication supported by asp.net?

0 Answers  


Categories