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 / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why session is more secure than cookies?

473


Explain difference between dataset and recordset?

489


What do you mean by View State and what is its role?

512


What is the use of placeholder control?

525


What is difference between cookies and cache?

493






Explain how can you debug your .net application?

511


What are url fragments?

480


Why viewstate is used in asp.net?

489


Is viewstate secure?

493


How can you implement encapsulation in asp.net?

11242


What is a web server? What are the load limits in it?

567


In which event of the page viewstate is available?

438


Describe SOA and the tenets of it?

533


Write code to send e-mail from an asp.net application?

529


What is the usie of activex control in .net?

529