Ver Fonte

2007-02-01 Igor Zelmanovich <[email protected]>

	* ValidationSammary.cs: fixed:
	control is rendered even if there is no validators on the page.
	important if the page contain a client side script that refer to the 
	id of the validation summary div.	 

svn path=/trunk/mcs/; revision=72078
Igor Zelmanovich há 19 anos atrás
pai
commit
d00a6c9b20

+ 7 - 0
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog

@@ -1,3 +1,10 @@
+2007-02-01 Igor Zelmanovich <[email protected]>
+
+	* ValidationSammary.cs: fixed:
+	control is rendered even if there is no validators on the page.
+	important if the page contain a client side script that refer to the 
+	id of the validation summary div.	 
+
 2007-01-31 Igor Zelmanovich <[email protected]>
 
 	* CheckBoxList.cs:

+ 0 - 3
mcs/class/System.Web/System.Web.UI.WebControls/ValidationSummary.cs

@@ -228,9 +228,6 @@ namespace System.Web.UI.WebControls {
 #else
 			validators = Page.Validators;
 #endif
-			if (validators.Count == 0) {
-				return;
-			}
 
 			// We have validators
 			errors = new ArrayList(validators.Count);