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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create events for a control?

543


How do we assign page-specific attributes?

615


What are the event handlers that can be included in the Global.asax file?

574


Explain MVC model binders?

595


What is the web.config file in asp?

636






Define the steps to set up validation control.

576


how to elimainte the similar data from the different tables

1704


What are the main advantages of using asp.net?

550


Is asp.net web forms dead?

509


Explain how dot net compiled code will become platform independent?

505


What are the security types in asp.net?

576


What are Caching techniques in .NET

596


What is an imagemap in asp.net?

552


What is custom events? How to create it?

622


If you are using components in your application, how can you handle exceptions raised in a component?

2075