Multiple Controls for One modalPopup

by rBellantoni 12/5/2008 7:49:00 AM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
   
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
   
    </div>
        <asp:Button ID="Button1" runat="server" Text="Button" />
        <asp:Button ID="Button2" runat="server" Text="Button" OnClientClick="$find('mpe').show(); return false;" />
        <asp:Button ID="Button3" runat="server" Text="Button" OnClientClick="$find('mpe').show();return false;"/>
      
        <asp:Panel ID="Panel2" runat="server" Style="cursor: move;background-color:#DDDDDD;border:solid 1px Gray;color:Black">
                <div>
                    <p>Choose the paragraph style you would like:</p>
                </div>
            </asp:Panel>
              
        <ajaxToolkit:ModalPopupExtender BehaviorID="mpe" ID="ModalPopupExtender1" PopupControlID="Panel2" runat="server" TargetControlID="Button1" >
        </ajaxToolkit:ModalPopupExtender>
    </form>
</body>
</html>

Tags:

Comments

9/18/2009 4:03:50 AM

ebarcza

huh?

ebarcza United States

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  April 2018  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2018

Sign in