Question : Using Modal Popup Extender with Master Page

Experts,

I have a content page that uses a master page. A change needs to be made so that when a button on the content page is clicked a panel control (that had an AJAX modal popup control added) is displayed.

I am new to ASP.NET and cannot get this to work. I have been able to get this to work on a page that was not associated with a Master page. I'm not even sure where the Script Manager needs to be placed in this instance.

Any assistance is appreciated.

Thank you.

Answer : Using Modal Popup Extender with Master Page

Put this in the body of your master page as well


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
<div>
        <table width="1000">
            <tr>
                <td colspan="1" style="width: 1001px; height: 80px; text-align: center">
                    <span style="font-size: 14pt"><strong>Master Page Header (My Menu Here)<asp:ScriptManager
                        ID="ScriptManager1" runat="server" EnablePartialRendering="true">
                    </asp:ScriptManager>
                    </strong></span>
                </td>
            </tr>
            <tr>
                <td colspan="1" style="width: 1001px">
                    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                    </asp:ContentPlaceHolder>
                </td>
            </tr>
            <tr>
                <td style="width: 1001px">
                </td>
            </tr>
        </table>
         
    </div>
Random Solutions  
 
programming4us programming4us