I am having four text boxes in my web application. I am
setting Required Field validator to each Text box. And I am
having two buttons in my application. If i clicked the
first button only first two text box validation will get
fire. Dont show error message for remaining two text box.
If i clicked second button last two text box validation
will get fired. It will not consider the first two
validation controls. That is how to enable and disable the
validation controls.
Answer Posted / navin chandra pandit
To solve above prob., u can use validationGroup property of
ctrl. Those validation ctrls. that want to validat with a
btn ctrl., place in one group while the other place in 2nd
group simply.
Hope u got the point now.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the appSettings Section in the web.config file?
What is a 307 redirect?
Name the namespace which is used by ado.net?
What is postback pixel?
How to create multi language website in asp.net mvc? : Asp.Net MVC
How is session id generated?
List the advantages and disadvantages of user control an custom control?
Why is this service branded with windows livetm?
Explain one critical mapping?
What is gridview in asp.net?
Explain how can we inherit a static variable?
Explain how can we access static variable?
What is special types forms
What is intrinsic objects in asp.net?
What are the new features implemented in ASP.NET?