<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Cart.aspx.vb" Inherits="Cart" %>

<!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>CUAHSI - Data Cart</title> 
       <script type="text/javascript" language="javascript">
      function ShowMsg(){
        if(sMsg.length>0){
          alert(sMsg);
        }
      }     
    </script>
</head>
<body onload = "ShowMsg();">
    <form id="form1" runat="server">
     <asp:Panel runat="server" ID="PageHeader" CssClass="MapViewer_TitleBannerStyle" Width="100%" Height="50px" style="position: relative; left: 0px; top: 0px; z-index: 100;" BackImageUrl="~/Images/header.jpg">
               &nbsp;<asp:Label ID="TitleLabel" runat="server" Text="Data Download Cart" Font-Size="12pt" Font-Names="Verdana" ForeColor="White" Font-Bold="True" style="position: absolute; left: 292px; top: 4px; " Width="412px" Height="40px"></asp:Label>
     </asp:Panel> 
    <div id="cartScrollDiv" style="overflow-y:scroll; width: 1076px; height: 236px; overflow: auto;">
        <asp:GridView ID="GridView1" runat="server" 
            EmptyDataText="There are no data records to display." CellPadding="4" Font-Size="Smaller" ForeColor="#333333" GridLines="None">
            <Columns>
             <asp:TemplateField HeaderText="Select">
                    <ItemTemplate>
                        <asp:CheckBox ID="CheckBox1"
                        AutoPostBack="false" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
          <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
          <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
          <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
          <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
          <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
          <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
</div>        
        <asp:SqlDataSource ID="SqlDataSource1" runat="server">
        </asp:SqlDataSource>
        <br />
        <center>
          &nbsp;
         <asp:Button ID="SelectAll" runat="server" Text="Select All" />
         <asp:Button ID="ClearAll" runat="server" Text="Clear All" /><asp:Button ID="dwnCart" runat="server" Text="Get Cart" /><asp:Button ID="dwnData" runat="server" Text="Download Data" /><asp:Button ID="DeleteSelected" runat="server" Text="Delete Selected" />&nbsp;&nbsp;
         <asp:CheckBox ID="CheckAll" runat="server" Text="ShowAll"/> &nbsp;<asp:Button ID="Refresh" runat="server" Text="Refresh" />&nbsp;
         </center>
         <br />
    <asp:HyperLink ID="HyperLink1" Visible="false"  runat="server">Download Cart</asp:HyperLink>
        <asp:Label ID="Label1" runat="server" Height="32px" Width="244px" style="left: 716px; position: absolute; top: 24px; color: red;" Font-Bold="True" ForeColor="Red" BorderStyle="None"></asp:Label>
    </form>
</body>
</html>
