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
How to find last error which occurred in Asp.net ?
how to transfer the file from client to server using asp.net
What are the advantages of the code-behind feature?
What is class and object in asp.net?
What is the difference between a page theme and a global theme?
I have an external link in my application say www.xyztest.com. Today this site works on http protocal. Tommorow it may run on https. So i cant hardcore the protocal in the site. When a user clicks on the link how can i know if the external site works on http or https and takes him to that place?
Can I tap into other windows livetm services?
How we can force all the validation controls to run?
Explain code snippet to register exception filters from controller?
How to handle errors in Web API?
What are the ways to sending the data in ASP.NET page?
What is the basic difference between asp and asp.net?
Difference between singleton and singlecall.
What is the best Macanism to clear the Cache in asp.net
What is Dynamic Web and discuss its usage with the help of real life examples?