Hi folks,
I have a popup Panel tied to a ModalPopupExtender (using ASP.NET AJAXToolkit Version 3.0.20229). If I don't set the Panel's style visibility:hidden, everything works fine. When I click the button that the ModalPopupExtender is tied to (TargetID), the Panel pops up. However, the problem is that onload, the Panel flashes on the screen momentarily. So I set the visibility:hidden but now, the ModalPopupExtender fires and the Panel is still invisible.
If I use server side code to set Panel1.Style.Add("visibili
ty:visible
") in the button's onclick event, it works but again, the Panel shows momentarily before being moved to the center of the screen.
Can anyone think of what I'm doing wrong? I do the same visibility:hidden "trick" on Popupcontrols with no issues.
Thanks in advance.
Start Free Trial