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

Define repository pattern in mvc.net? : asp.net mvc

528


Explain what is the procedure to create the environment for asp.net? : asp.net mvc

551


Can you explain page lifecycle in net?

516


Can you dynamically assign a Master Page?

596


What are the options in ASP.NET to maintain state?

631






Where the assembly is stored in asp.net?

558


What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?

517


Why do I get error message "could not load type" whenever I browse to my asp.net web site?

645


What are the various session state management options provided by asp.net?

550


Describe the master page.

560


What is the web.config file in asp?

649


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

610


hi .net gurus. plz if any one has dumps on 70-631 and 70-541 on windows sharepoint services kindly mail me.

1276


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

597


Define the term Web Garden?

560