<%@ Page Title="Register Line group (CSV Upload/Download)" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="RegisterCSV.aspx.cs" Inherits="CheckSheet.RegisterCSV" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="RegisterCSV.js?v=123"></script>
    <div id="frommain">
        <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                            <div id="sthd" class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblPageName" runat="server"  CssClass="frmheader"  Text="Register line group (CSV Upload/Download)"  width="350px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>
         <div id="g0" class="grouplist">
             
              <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                   <label>
                            <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lbldt0" runat="server"  CssClass="frmheader"  Text="CSV Upload"  width="350px"></asp:Label>
                   
                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <ajax:AsyncFileUpload ID="AsyncFileUpload1" runat="server" ClientIDMode="AutoID" CompleteBackColor="White" OnClientUploadComplete="uploadComplete" OnClientUploadStarted="uploadStarted" OnUploadedComplete="FileUploadComplete" style="margin-bottom: 4px" ThrobberID="imgLoader" UploaderStyle="Modern" UploadingBackColor="#CCFFFF" Width="100px" />

                    </span>
                </div>
            </div>
              <div class="form-row">
                <div class="frmrow">
                    <span class="sp2">
                    <label>
                  
                    <asp:Button ID="btnCSVUpload" CssClass="ctlcopybutton" runat="server" Text="CSV Upload" style="width:150px;" />
                    </label>
                 
                    <label>
                  
                   
                    </label>
                    </span>
                </div>
            </div>
             <br />

        </div>
        <div id="g1" class="grouplist">
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                   <label>
                            <div class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lbldt1" runat="server"  CssClass="frmheader"  Text="CSV Download"  width="350px"></asp:Label>
                   
                    </label>
                    </span>
                </div>
            </div>
                   
       
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linegroup" runat="server" CssClass="fontlabel"   Text="Line group :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_linegroup"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_linegroup" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linegroup','MainContent_txt_linename','linegroupid','linename','LineGroupMaster','');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linename" runat="server" CssClass="fontlabel"   Text="Line name :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_linename"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_linename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linegroup','MainContent_txt_linename','linegroupid','linename','LineGroupMaster','');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_partnumber" runat="server" CssClass="fontlabel"   Text="Part number :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_partnumber"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_partnumber" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_partnumber','partnumber','partnumber','EquipmentList','');return false;"  />


                    </label>
                    </span>
                </div>
            </div>
            

             <div class="form-row">
                <div class="frmrow">
                    <span class="sp2">
                    <label>
                  
                    <asp:Button ID="btnCSVDownload" CssClass="ctlcopybutton" runat="server" Text="CSV Download" style="width:150px;"  OnClientClick ="javascript:linkcsvdownload('rptInspectionItemsCSV_filter');return false;"   />
                    </label>
                    </span>
                    
                </div>
            </div>
     
         <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnback" runat="server"  Text="Back"  style="height:40px;width:150px;color:white;"  CssClass="ctlbackbutton" OnClick="btnback_Click"/>

                    </label>
                    </span>
                    
                </div>
            </div><br />
     
            </div>

   </div>
</asp:Content>
