Display another page in modelpopupExtender
Hi All,
In this example am displaying another pager in model pop up extender in page.
This is model pop up page.
<asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
TargetControlID="LinkButton1" PopupControlID="Panel2" BackgroundCssClass="modalBackground"
DropShadow="true" OkControlID="OkButton" OnOkScript="ok()" CancelControlID="CancelButton" >
</asp:ModalPopupExtender>
This is modelpopup panel
<asp:Panel ID="Panel2" runat="server" Style="display: none;width:802px;height:500px" >
<div>
<iframe id="testframe" src="SelectMembers.aspx" width="802" height="500"></iframe>
<p style="text-align: center;">
<asp:Button ID="OkButton" runat="server" Text="OK" />
<asp:Button ID="CancelButton" runat="server" Text="Cancel" />
</p>
</div>
</asp:Panel>
In this example am displaying another pager in model pop up extender in page.
This is model pop up page.
<asp:LinkButton ID="LinkButton1" runat="server">LinkButton</asp:LinkButton>
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
TargetControlID="LinkButton1" PopupControlID="Panel2" BackgroundCssClass="modalBackground"
DropShadow="true" OkControlID="OkButton" OnOkScript="ok()" CancelControlID="CancelButton" >
</asp:ModalPopupExtender>
This is modelpopup panel
<asp:Panel ID="Panel2" runat="server" Style="display: none;width:802px;height:500px" >
<div>
<iframe id="testframe" src="SelectMembers.aspx" width="802" height="500"></iframe>
<p style="text-align: center;">
<asp:Button ID="OkButton" runat="server" Text="OK" />
<asp:Button ID="CancelButton" runat="server" Text="Cancel" />
</p>
</div>
</asp:Panel>
Comments