[Mono-bugs] [Bug 78768][Blo] New - Checkbox ViewState (postback) bug

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 5 13:14:57 EDT 2006

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 subscription.sapi at apsystems.it.


--- shadow/78768	2006-07-05 13:14:57.000000000 -0400
+++ shadow/78768.tmp.12406	2006-07-05 13:14:57.000000000 -0400
@@ -0,0 +1,52 @@
+Bug#: 78768
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Blocker
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: subscription.sapi at apsystems.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Checkbox ViewState (postback) bug
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+We inserted a checkbox in a webform, We set the checkbox properties
+enabled=false and checked=true. On the button click we read the checkbox
+status (but the same behaviour happens if button click does not read
+nothing, simple button click (post) produces same result). Button click on
+the web form, returns a web page with “unchecked” checkbox.
+Steps to reproduce the problem:
+1. Insert a Checkbox in a WebForm with properties enabled=false, checked=true
+2. Insert a button on same WebForm (optional: read in the OnClick event for
+the button, the checkbox cheched status)
+3. Run web application
+4. Note checkbox status
+5. Press button
+Actual Results:
+Checked status il cleared (optional: button OnClick return status false for
+checked status of checkbox)
+Expected Results:
+Checked status must be unchenged (Checked) (optional: button OnClick return
+status true for checked status of checkbox)
+How often does this happen? 
+Additional Information:
+It seems a postback problem, like if state of the checkbox be not saved or
+checked correctly. (Juraj Skripsky created a patch and an approval for the
+patch - on 04-07-2006)

More information about the mono-bugs mailing list