ソースを参照

2003-08-31 Gonzalo Paniagua Javier <[email protected]>

	* Repeater.cs: fix for Items property provided by [email protected]
	(Yaron Shkop). Closes bug #48060.

svn path=/trunk/mcs/; revision=17765
Gonzalo Paniagua Javier 22 年 前
コミット
654ed1b737

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

@@ -1,3 +1,8 @@
+2003-08-31  Gonzalo Paniagua Javier <[email protected]>
+
+	* Repeater.cs: fix for Items property provided by [email protected]
+	(Yaron Shkop). Closes bug #48060.
+
 2003-08-26  Gonzalo Paniagua Javier <[email protected]>
 
 	* CheckBox.cs: in LoadPostData, only return

+ 2 - 2
mcs/class/System.Web/System.Web.UI.WebControls/Repeater.cs

@@ -185,9 +185,9 @@ namespace System.Web.UI.WebControls
 		{
 			get
 			{
-				if(items != null)
+				if(items == null)
 				{
-					if(itemsArrayList != null)
+					if(itemsArrayList == null)
 					{
 						EnsureChildControls();
 					}