Why ValidatorValidate() validates all the RequiredFieldValidator controls on the page?
问题 In following code Why ValidatorValidate(v) validates all the RequiredFieldValidator controls on the page? It should execute only RequiredFieldValidator1 not RequiredFieldValidator2 . Here is code. <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript"> function check() { var v = document.getElementById("<%=RequiredFieldValidator1.ClientID%>"); ValidatorValidate(v); } </script> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat=