views:

40

answers:

1

I have an ascx control loaded inside a panel tied to a modal pop up panel extender.

The problem is that an action triggered by the ascx control causes a postback; when the postback completes, the panel controlled by the modal popup extender which contains the custom ascx control disappears.

It is merely hidden though with it's default

display:none 

style attributes.

Does anyone know how to remedy this?

A: 

Few guesses - if you are loading the control dynamically in the panel then you should load in every post-back including partial post-back. Another issue can be check if Visible property of Panel or its parent is getting set to false accidentally when post-back occurs.

VinayC