how to make automatically resize the aspx page during runtme

Mar 20 2015 2:46 AM

Hi

Hi

I have created project in asp.net

I used  ModalPopUpextender.

 

I have used   3 aspx pages and assign to <IFRAME >.

Popup of all the aspx pages are working

but the height  of page is not adjusted.

but  the  resizing of aspx page is not adjusted   based on page height

I have given code  below for sing aspx page.



<div class="frmrow">                                   
<asp:Button ID="Button3" runat="server" Text="Vat" CssClass="button-simple" /> <ajax:ModalPopupExtender ID="ModalPopupExtender3" runat="server" PopupControlID="Panl1" TargetControlID="Button3" CancelControlID="Button5" BackgroundCssClass="Background"> </ajax:ModalPopupExtender> <asp:Panel ID="Panl1" runat="server" CssClass="Popup" align="center" Style="display: none"> <iframe style="width: 300px; height: 300px;" id="Iframe1" src="party-vat.aspx" runat="server"></iframe> <br /> <asp:Button ID="Button5" CssClass="button-simple" runat="server" Text="close" /> </asp:Panel> </div> </li>

Answers (1)