Bug 316410 (MONO69200)

Summary: Visibility of inner controls is not always maintained during post backs
Product: [Mono] Mono: Class Libraries Reporter: Angel Marin <anmar>
Component: Sys.WebAssignee: Gonzalo Paniagua Javier <gonzalo>
Status: RESOLVED FIXED QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P3 - Medium    
Version: 1.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Unzip and use xsp to run it

Description Thomas Wiest 2007-09-15 18:58:18 UTC


---- Reported by anmar@gmx.net 2004-11-07 10:37:36 MST ----

If we change the visibility of a control contained on another one, then
hide the control that contains it (in a first post back), and then again
show it (in a second post back), the inner control does not retain the
initial change to its visibility. But it only happens if the initial state
of the inner control is hidden, if it’s initially visible it works as
expected (it is kept hidden).

Steps to reproduce the problem:
1. Unzip the attached test case
2. Run xsp on that folder and point the browser to it (test.aspx)
3. Click Button1
4. Click Button2

Expected Results:
The text of the hidden Literal should be shown and the text of the second
one should be hidden.

Actual Results:
The text of neither of them is shown.

Additional Information:
It has been tested with mono 1.0.4 and xsp 1.0.4 under windows.



---- Additional Comments From anmar@gmx.net 2004-11-07 10:38:35 MST ----

Created an attachment (id=167009)
Unzip and use xsp to run it




---- Additional Comments From gonzalo@ximian.com 2004-11-30 21:49:19 MST ----

Fixed in SVN HEAD and 1-0.

Thanks.


Imported an attachment (id=167009)

Unknown operating system unknown. Setting to default OS "Other".