瀏覽代碼

2008-05-19 Juraj Skripsky <[email protected]>

	* Page.cs (ValidateCollection): Don't check _eventValidation, it
	has nothing to do with the validators.


svn path=/trunk/mcs/; revision=103485
Juraj Skripsky 17 年之前
父節點
當前提交
3aab989836
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 5 0
      mcs/class/System.Web/System.Web.UI/ChangeLog
  2. 0 5
      mcs/class/System.Web/System.Web.UI/Page.cs

+ 5 - 0
mcs/class/System.Web/System.Web.UI/ChangeLog

@@ -1,3 +1,8 @@
+2008-05-19  Juraj Skripsky  <[email protected]>
+
+	* Page.cs (ValidateCollection): Don't check _eventValidation, it
+	has nothing to do with the validators.
+
 2008-05-16  Marek Habersack  <[email protected]>
 
 	* StateManagedCollection.cs: make {Save,Load}ViewState simpler.

+ 0 - 5
mcs/class/System.Web/System.Web.UI/Page.cs

@@ -1981,11 +1981,6 @@ public partial class Page : TemplateControl, IHttpHandler
 
 	bool ValidateCollection (ValidatorCollection validators)
 	{
-#if NET_2_0
-		if (!_eventValidation)
-			return true;
-#endif
-
 		if (validators == null || validators.Count == 0)
 			return true;