Closed GoogleCodeExporter closed 9 years ago
Unfortunately that's not the way TActivePanel works.. TActivePanel's
documentation states: "TActivePanel allows the client-side panel contents to be
updated during a callback response using the render method.".
The "Visible" property of a TActivePanel is not part of its contents, so it
won't be updated.
In reality, the TActivePanel::Visible is not even something that can be changed
clientside, since it's not an attribute of the <div> representing the
TActivePanel.
Other things could work:
1) setStyle("display:none") on the TActivePanel will hide it from the user (but
the panel will still be present in the html code with its subcontrols);
2) insert a TPanel inside the TActivePanel, call TPanel->setVisible(false) and
then TActivePanel->render(...);
We could find a way to make TActivePanel work like you want it, but then it
should work not only for TActivePanel, but also for all the others
ActiveControls.
Original comment by ctrlal...@gmail.com
on 9 Nov 2011 at 11:18
imho, this (setting visible = true shows the control on the website) would be
the expected behavior. can we file a feature request for that?
thanks,
Original comment by ra...@bhatia.at
on 15 Nov 2011 at 10:08
It's definitely a nice feature request, reopening the ticket re-targeting it
Original comment by ctrlal...@gmail.com
on 15 Nov 2011 at 11:06
i've committed a dirty but working test patch in r3064. I'm open for comments
Original comment by ctrlal...@gmail.com
on 15 Nov 2011 at 5:33
Original comment by ctrlal...@gmail.com
on 18 Jan 2012 at 9:37
Original issue reported on code.google.com by
ra...@bhatia.at
on 9 Nov 2011 at 5:01