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 one 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????

Harold Sota
  • 7,490
  • 12
  • 58
  • 84

1 Answers1

1

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
  • 9,387
  • 10
  • 48
  • 61