views:

263

answers:

1

I have a ajax asp.net modalpopupextender, I wont when I desplay popup, the popup cover all the browser window.

The popup display a panel ane is inside the form not other container.

My .aspx code is: < asp:Panel ID="OptionPanel" runat="server" CssClass="mp"
Style="display: block; width:100%; height:100%">

But don't work!!!

Any ideas????

A: 

ModalPopupExtender's main Panel should not have block display style, it must be hidden:

The ModalPopupExtender that this popup is attached to has a hidden TargetControl.

E.g. Style="display: hidden;"

The size of Panel (div) can be resized with JS, for example.

sashaeve
Yes I know, I put the size in TargetControl, but don't work
Haroldis