Popup qui affiche des données dynamiques
Bonjour, pour faire un popup tout con j'ai fait ceci:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<style>
.modalBackground
{
background-color: #fff;
filter: alpha(opacity=70);
opacity: 0.7px;
width : 50px;
}
</style>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Style="display: none ;">
This is basic modal popup.
<br />
<br />
<asp:Button ID="btnOk" runat="server" Text="Ok" />
<asp:Button ID="btnClose" runat="server" Text="Close Me" />
</asp:Panel>
</div>
<ajaxToolkit:ModalPopupExtender BackgroundCssClass="modalBackground" DropShadow="true"
OkControlID="btnOk" CancelControlID="btnClose" runat="server" PopupControlID="Panel1"
ID="ModalPopupExtender1" TargetControlID="Button1" />
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Button ID="Button1" runat="server" Text="First Modal Popup" />
</form>
</body>
</html> |
Est-ce que l'on peut afficher des données dedant qui viennent d'une requête
Pas de texte "dur" donc
Comment peut-on faire svp ?
thx!