Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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.

Answers were Sorted based on User's Feedback



I am having four text boxes in my web application. I am setting Required Field validator to each T..

Answer / 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

I am having four text boxes in my web application. I am setting Required Field validator to each T..

Answer / suji

Hi

I am having 4 textbox inside the datagrid1. And another 4
textbox in datagrid2. For all 8 textbox i am using the
Required Field validator. If i click the button1 then only
first datagrid textboxes should be validated. IT Wil not
consider the second datagrid textboxes. If i click button2
only second datagrid textboxes should be validated. It will
not consider the first datagrid textboxes. How you will
write coding in C# with ASP.NET


If any one know the answer Please help me.

Urgent.

By
Suji.

Is This Answer Correct ?    3 Yes 0 No

I am having four text boxes in my web application. I am setting Required Field validator to each T..

Answer / 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

I am having four text boxes in my web application. I am setting Required Field validator to each T..

Answer / suji

Hi..


I got the answer.

Thanks a lot....

By

Suji.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More ASP.NET Interview Questions

what is roles in asp.net

2 Answers  


Explain an object, class and method.

0 Answers  


Can you edit data in the Repeater control? Which template must you provide, in order to display data in a Repeater control? How can you provide an alternating color scheme in a Repeater control? What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?

0 Answers  


Define reflection in .net?

0 Answers  


in which protocol ASP.NET WEB API Work?

0 Answers   HCL,


what is assembly?

4 Answers   Microsoft,


What are asp.net web forms?

0 Answers  


Compare and contrast between inline and code behind - which one is best?

2 Answers   Siebel,


What is form method?

0 Answers  


what are the events in ASP.net page life cycle?

1 Answers  


Define common type system?

0 Answers  


under which namespaces connection strings can be defined?

4 Answers  


Categories