<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div> <asp:Button ID="BtnOkay" runat="server" Text="Button" /> <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" CancelControlID="BtnCancel" OkControlID="BtnOK" TargetControlID="BtnOkay" PopupControlID="Panel1" BackgroundCssClass="ModalPopupBG"> </asp:ModalPopupExtender> <asp:Panel ID="Panel1" Style="display: none;" class="HellowWorldPopup" runat="server" Height="90px" Width="205px"> this is model popup <asp:Button ID="BtnCancel" runat="server" Text="Button" /> <asp:Button ID="BtnOK" runat="server" Text="Button" /> </asp:Panel> </div> </form> </body> </html>
.ModalPopupBG { background-color:#CCCCFF; -ms-filter: alpha(opacity=70); -ms-opacity:0.7; } .HellowWorldPopup { min-width:200px; min-height:150px; background:white; }
Quote:Style="display: none;"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)