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


Please Help Members By Posting Answers For Below Questions

What are the different authentication modes in asp.net?

762


What is rich control in asp.net?

763


What is Razor View Engine

861


What is an assembly? Explain its parts.

866


Explain what are webservices?

766


Define data caching?

730


What are the new web part controls in asp.net 2.0 ?

742


Where sessions are stored in asp.net?

782


What is the difference between cookie and session?

752


which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites

1953


How to use push notification?

841


Explain about consistent programming model in the .NET framework?

830


i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?

1775


Explain security types in asp.net?

826


Mention the execution process for managed code?

772