<%@ 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=1"></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="sp2">
                    <label>
                  
                    <asp:Button ID="btnCSVUpload" CssClass="ctlcopybutton" runat="server" Text="CSV Upload" style="width:150px;" OnClientClick="javascript:linkcsv('Upload_inspector_items');return false;"  />
                    </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_lamp" runat="server" CssClass="fontlabel"   Text="Factory name (LAMP) :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_lamp"  runat="server" Width="250" ToolTip="*Factory(Lamp)" CssClass="ctlsearchinput" style="text-transform: uppercase;">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_lamp" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_lamp','MainContent_txt_lamp','lamp','lamp','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" ToolTip="*Line name" CssClass="ctlsearchinput">
                      </asp:TextBox>
                         <asp:Button ID="btnfil_linename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linename','MainContent_txt_linename','linename','linename','LineGroupMaster','$and lamp =\''+$('#MainContent_txt_lamp').val()+'\'');return false;"  />
                                      <asp:TextBox ID="txt_linegroup"  runat="server" Width="1" style="border-style:none;box-shadow:none;" ></asp:TextBox>

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

                <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_model" runat="server" CssClass="fontlabel"   Text="Model :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_model"  runat="server" Width="250" ToolTip="*Model" CssClass="ctlsearchinput" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_model" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_model','partnumber','model','LineGroupMaster','$and linename =\''+$('#MainContent_txt_linename').val()+'\'');return false;"  />
        <%--                $and usercode =\''+$('#lbluserid').html()+'\''--%>
                           <asp:TextBox ID="txt_partnumber"  runat="server" Width="1" style="border-style:none;box-shadow:none;" >
                    </asp:TextBox>

                    </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>
