2003-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 21 Jul 2003 08:48:40 +0000 (08:48 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Mon, 21 Jul 2003 08:48:40 +0000 (08:48 -0000)
* CheckBoxList.cs: fixes bug reported on the list about the state of
the CheckButtons not being preserved across posts.

svn path=/trunk/mcs/; revision=16473

mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
mcs/class/System.Web/System.Web.UI.WebControls/CheckBoxList.cs

index 19d9312d95b2a914ec86857472107ee4e8ede197..2306e5e782e5830db4bfcdc9446b5f2ffe8a7f68 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * CheckBoxList.cs: fixes bug reported on the list about the state of
+       the CheckButtons not being preserved across posts.
+
 2003-07-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * ListControl.cs: added SelectedValue property (1.1). Closes 46412.
index 7c2af02c758ed8cb4e0b0cfe9042a4c1a184dce7..1a4ae4e8e5fa203603e375a477d13f720877d0f7 100644 (file)
@@ -30,7 +30,7 @@ namespace System.Web.UI.WebControls
                        checkBoxRepeater = new CheckBox();\r
                        checkBoxRepeater.ID = "0";\r
                        checkBoxRepeater.EnableViewState = false;\r
-                       checkBoxRepeater.Controls.Add(this);\r
+                       Controls.Add (checkBoxRepeater);\r
                        isChangeNotified = false;\r
                }\r
 \r