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 is the purpose of url encoding?
What is %20 in a url?
Can you explain the importance of finalize method in .net?
What is server side session management?
We Only Know The Total Number Of Feet In The Farmyard. Write A Program that will compute the total number of rabbits and chickens in the farmyard. Assume number of feet in the farmyard are 40. how many rabbits and chickens are?
Please briefly explain the usage of global.asax?
What are the new features implemented in ASP.NET?
What is the difference between page directive include and action tag include?
What is fulltrust?
What is the difference between system.stringbuilder and system.string
Give an example of what might be best suited to place in the application_start and session_start subroutines?
How can you enable impersonation in the web.config file?
What is asp.net architecture?
What is session and cookies in asp.net?
What is the use of web.config and machine.config files?