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

Is asp.net free?

790


Can we use MSSql as backend in asp.net...if yes then How.?

833


What is difference between View State and Hidden Field in ASP.NET?

903


Give me one example of Web API Routing?

845


Describe the diffeerence between inline and code behind?

771


What is the typical session identifier?

840


Why do you use the app_code folder in asp.net?

832


What is difference Between Authentication and authorization?

862


How does the iis work?

834


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1845


What are different methods of session maintenance in asp.net?

811


How do you store a value in viewstate and retrieve them?

799


What does the .webpart file do?

811


How do you hide the columns?

830


Explain the Order of events in an asp.net page?

816