[Mono-bugs] [Bug 48802][Maj] New - CheckBoxList bug
Thu, 13 May 2004 23:42:43 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by email@example.com.
--- shadow/48802 2004-05-13 23:42:43.000000000 -0400
+++ shadow/48802.tmp.550 2004-05-13 23:42:43.000000000 -0400
@@ -0,0 +1,100 @@
+Product: Mono: Class Libraries
+Summary: CheckBoxList bug
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+The selected items on the checkbox list are not shown after toggling
+Steps to reproduce the problem:
+1. Open the attached aspx file.
+2. Check some items in the CheckBoxList
+3. Click on the button "Disable"
+4. Click on the button "Enable"
+After clicking on the "Enable" button all the items become unchekced.
+The checked items before disabling the CheckBoxList should stayed checked.
+How often does this happen?
+1. Disable doesn't work at all at "Mozilla" explorer.
+2. I saw that indices are saved but "lost" (null value on LoadViewState
+ at ListControl).
+------- Additional Comments From firstname.lastname@example.org 2003-09-24 04:05 -------
+Created an attachment (id=5411)
+------- Additional Comments From email@example.com 2003-09-24 04:13 -------
+At first, the selected indices are Selected.
+After, they are un-selected at IPostBackDataHandler.LoadPostData
+at the CheckBoxList class.
+------- Additional Comments From firstname.lastname@example.org 2003-09-24 10:59 -------
+This bug appears at MS version too.
+------- Additional Comments From email@example.com 2003-09-26 21:09 -------
+Fixed the "disabled not working" problem.
+The viewstate problem can be considered a "feature" until they fix
+theirs. While fixing another bug sometime ago, I realized that it only
+saves indices under certain circumstances for ListControl derived
+classes. That's why CheckBoxList subcontrols viewstate is not saved.
+------- Additional Comments From firstname.lastname@example.org 2003-09-29 03:07 -------
+Wait wait wait, there are cases that can be treated as "features".
+AdRotator Font for eaxpmle is not influenced by chnaging the font's
+Since AdRotator is not a control that font is suppose to be a
+commonly used element, I treated this as a policy.
+Our case is completly different, there is no other case that a
+disabled control loses it's status when it enabled again.
+This one is clearly a bug.
+Why should we wait for MS???
+------- Additional Comments From email@example.com 2003-09-29 03:48 -------
+Okay, fixing this involves saving the indices for ListBox and
+CheckBoxList. DropDownList and RadioButtonList do not suffer this problem.
+I'll do it now.
+------- Additional Comments From firstname.lastname@example.org 2003-09-29 04:02 -------
+BTW, I didn't know that a ListBox suffers from the same problem...
+(Are you sure? I think my tests seem to work...).
+Maybe we can send the fix to MS (teach them how to do it right...
+------- Additional Comments From email@example.com 2003-12-01 15:22 -------
+Seems like this is back again
+------- Additional Comments From firstname.lastname@example.org 2004-05-13 23:42 -------
+this one is basically impossible and is really a mozilla bug and it
+makes me want to cry.