Please help me to find a solution.
Expand|Select|Wrap|Line Numbers
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
- <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head runat="server">
- <title>Untitled Page</title>
- <link href="StyleSheet.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
-
- <asp:Button ID="btnview" runat="server" Text="view" onclick="btnview_click"/>
- <asp:LinkButton ID="onylforshow" runat="server"></asp:LinkButton>
- <asp:ScriptManager ID="ScriptManager1" runat="server">
- </asp:ScriptManager>
- <%-- ---------------------------------------------------------------------------------------------%>
- <asp:Panel ID="pnlmodalpopup" runat="server" Style="display:" CssClass="modalPopup"
- Height="550px" Width="850px" BackColor="White" Direction="LeftToRight"
- BorderColor="Black" BorderWidth="2px" >
- <asp:Button ID="btncancel" runat="server" BackColor="White" BorderColor="White"
- BorderStyle="Solid" Font-Bold="True" Font-Names="Tahoma" Font-Size="14px"
- ForeColor="Black" Text="X" Width="30px" style="margin-left: 816px" />
- <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
- <hr style="color: #3399FF" />
- <br /><br /><br />
- <hr style="color:Green" />
- <br /><br /><br />
- <hr style="color: Red" />
- <br /><br /><br />
- <hr style="color:Green" />
- <br /><br /><br />
- </asp:Panel>
- <ajax:modalpopupextender ID="mpeMsgPopup" runat="server"
- TargetControlID="onylforshow" PopupControlID="pnlmodalpopup" BackgroundCssClass="modalBackground" DropShadow="false"
- EnableViewState="true">
- </ajax:modalpopupextender>
- </div>
- </form>
- </body>
- </html>