The way I've done it is by positioning one control next to the other (instead of on top of it.) Try doing that and see if that works. The browser will automatically take into account the fact that one of them is invisible at the time it renders the page.
Could it be that the logic to make one visible and the other invisible is not being triggered at the right time?
>I have 2 instances on one form where I have placed an HTML grid layout panel control within a .NET webform panel control. I also have other controls such as labels and textboxes within the panels. It allows me to change the visible property to true & false on the panel rather than each control separately to display a whole section of controls at once. When I click a button, the user will see either the totals panel or the error message panel appear. The 2 are positioned on the form at the same location, but only 1 of them will only ever show at once. However, I put the error message panel on top of the totals panel & said, "bring to front", but I can't ever get the error message panel to display. It is acting like it's still underneath the totals panel even though the totals panel is not visible at the time. Is there a way to display one or the other while they're both positioned at the same place on my web form?
Hector Correa