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

What happens if an ASP.NET server control with event-handling routines is missing from its definition?

868


What is server side session?

739


Why do we need Sessions?

775


What is the purpose of url encoding?

714


Explain the asp.net page life cycle.

801


Describe the diffeerence between inline and code behind?

749


List the major built-in objects in asp.net?

754


What is the difference between sealed vs static class?

799


What are client activated objects and server activated objects?

729


How can I create master page in asp net?

711


How many languages are supported by .NET at present time?

554


List the types of authentication supported by asp.net?

735


What is a session in asp.net?

764


How does asp net store session ids by default?

734


How does session id work?

693