Bug 316410 (MONO69200) - Visibility of inner controls is not always maintained during post backs
Summary: Visibility of inner controls is not always maintained during post backs
Status: RESOLVED FIXED
Alias: MONO69200
Product: Mono: Class Libraries
Classification: Mono
Component: Sys.Web (show other bugs)
Version: 1.0
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Gonzalo Paniagua Javier
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-07 17:37 UTC by Angel Marin
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Unzip and use xsp to run it (587 bytes, application/octet-stream)
2004-11-07 17:38 UTC, Thomas Wiest
Details

Note You need to log in before you can comment on or make changes to this bug.
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".