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
Explain how can we inherit a static variable?
What is difference between asp.net and asp?
What are the namespace classes used in asp.net mvc? : asp.net mvc
Where is the view state data stored in asp net?
What are the differnt types of handler in ASP.NET?
How you will handle session when deploying application in more than a server?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
What does asp in asp.net stand for?
What is web configuration file and how to use in web application
What is session start?
Disable Mouse right click on web page in asp.net?
What are early binding and late binding.
i want to implement grid view value in paypal site. so how to create this code in asp.net with C#
To get the values in two different controls to match which control you use it?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.