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 / 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 |
Post New Answer View All Answers
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
Is session server side or client side?
Is asp.net mvc front end or backend? : Asp.Net MVC
Explain the advantages of caching?
What is autopostback in dropdownlist in asp net?
What are the components of ado.net?
Can you set the session out time manually?
What is data grid view in asp.net?
How would you create a permanent cookie?
Hi this is the coding for adding data in to an xml table
i want the coding for update and delete
Try
Dim emp_xml_doc As New XmlDocument
If
System.IO.File.Exists(Server.MapPath("emp.xml")) Then
emp_xml_doc.Load(Server.MapPath("emp.xml"))
Dim myrow_element As XmlElement
myrow_element =
emp_xml_doc.CreateElement("EmpDetails")
Dim str As String
str = "
Define satellite assemblies.
What are the steps to follow to host a web application on a web server?
What are the advantages and disadvantages of Using Cookies?
What is mvc in asp.net tutorial? : Asp.Net MVC
How many types cache in asp net?