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 / smit sisodia

set validation control="false" of cancel button

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Web API Routing?

607


What is difference between datalist and gridview?

581


How many web config files can be created for an application?

456


What is intrinsic objects in asp.net?

645


What are custom user controls in asp.net?

522






When cookie will expire?

587


What is the advantage of mvc over asp.net? : Asp.Net MVC

509


What is asp.net? How is it different from asp?

544


What is the difference between a candidate key and primary key?

525


Why do we need url encoding?

526


Describe the application event handlers in ASP.NET?

550


Define web.config in .net?

639


What’s the catch?

626


What is a server farm in iis?

539


Define page fragment caching?

528