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>


Comments

Popular posts from this blog

what is Event Cache table in sharepoint

CAML Query syntax and options in SharePoint

Change anchor link url in sharepoint calender