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.

Answer Posted / madhabendra nath

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

Is This Answer Correct ?    48 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the function used for removing an event listener?

540


To add a hyperlink column to the DataGrid which tag is used ?

577


Can I have a unique key as foreign key?

530


What is difference between session and cookies in asp net?

492


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

542






Define cookie.

559


Explain the concept of event bubbling in ASP.NET?

574


What is different authentication mechanisms used in ASP.NET?

574


Do I need to have the latest version of windows media player installed?

507


Explain how cookies work. Give an example of cookie abuse.

707


Name the tools or API for developing or testing web api?

523


How many types of file extensions for razor views in ASP.Net MVC?

565


How do you do Client-side validation in .Net?

569


Explain the difference between authentication and authorization.

587


How can I open ashx file in mobile?

611