Hi guys,
So I’m having issues with visibility states sometimes not propagating again. I haven’t been able to determine exact repro steps, but it’s pretty common.
I have some icons (picture boxes) that I turn on and off in code depending on whether or not an item is selected. Some are becoming visible and some are not. There is only one point in the code where the visibility state changes, and I’ve breakpoint-debugged to make sure the state was coming through, no exceptions were being thrown, etc.
bool IsVis = (this._selected != null); btnRemove.Visible = IsVis; pbMaskEditor.Visible = IsVis; tbImageScale.Visible = IsVis; lblAdjustSize.Visible = IsVis; lblAdjustAngle.Visible = IsVis; tblSizeAndRotate.Visible = IsVis; pbMoveBack.Visible = (IsVis && MainPanel.Controls.Count>2); pbMoveFront.Visible = (IsVis && MainPanel.Controls.Count > 2);
What can I do to make absolutely certain the visibility state gets propagated to the client?
Thanks!
-John
Hi John,
Can you send a small sample so we can reproduce the problem? Thanks.
Please login first to submit.