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

<<  July 2017  >>
MoTuWeThFrSaSu
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

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 2017

Sign in