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 / nikki
Hi.......its very simple first of all take two validation
summary and first 2 textbox and 1 button and 1 summary give
the same validation group name and do same for other two
textboxes and i think u will get the solution...
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What's the use of formatters in .net?
How to create multi language website in asp.net mvc? : Asp.Net MVC
How will you load dynamic assembly? How will create assesblies at run time?
How can we implement a identity (sql server) call in an asp.net page?
Does google crawl redirects?
What is webresource axd?
How would you create a permanent cookie?
What is loop in asp.net?
Please brief not about xsd,xslt & xml?
How should I destroy my objects in asp.net?
how can create login from create and written conde in asp.net
Why do you use the app_code folder in asp.net?
What are session state modes? List some of the important session state modes of asp.net.
What is an example of an application service provider?
What is autopost?