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 / sneha gupta
set validationGroup = 'Save' for save button and textbox
but leave it blank for cancel button.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
Why is string called immutable data type?
What is the difference between ASP Session State and ASP.Net Session State?
How to Insert/Add in ASPXgridview
What are the three parts of an http response?
What is role-based security in asp.net?
List the asp.net validation controls?
Explain the purpose of storyboard.targetproperty.
What is mta?
What is difference between singleton and single call?
What is application state?
Is asp.net mvc front end or backend? : Asp.Net MVC
How can we update records in gridview?Is there any appropriate code for it?
What are the different ways you would consider sending data across pages in ASP (i.e between asp to asp)?
Elaborate differentiation between ViewState and SessionState?
Explain the concept of View Model in MVC?