<%@ Page Title="Register line" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="RegisterLine.aspx.cs" Inherits="CheckSheet.RegisterLine" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="RegisterLine.js?v=12345"></script>

    <div id="frommain">
         <div id="g0" class="grouplist">
             <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"  width="250px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>

              <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                  
                    <asp:Button ID="btnCSVUpload" CssClass="ctlcopybutton" runat="server" Text="CSV Upload" style="width:150px;"  OnClientClick="javascript:linkcsv('Upload_linegroup_CSV');return false;"   />
                    </label>
                 
                    <label>
                  
                    <asp:Button ID="btnCSVDownload" CssClass="ctlcopybutton" runat="server" Text="CSV Download" style="width:150px;"  OnClientClick="javascript:linkcsv('rptLinegroupCSV_filter');return false;"   />
                    </label>
                    </span>
                </div>
            </div>
         
             <br />
        </div>
        <div id="g1" class="grouplist" style="padding-bottom:10px;">

              <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','view_UserControl','');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:TextBox ID="txt_linegroup"  runat="server" style="width:1px;box-shadow:none;border-style: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>
                    </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" ToolTip="*Part number" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    </label>
                    </span>
                     
                    
                </div>
            </div>
             <br /><br />
              <div class="form-row"   style="height:150px;margin-top:-30px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_img" runat="server" CssClass="fontlabel"   Text="Image :" width="150px"></asp:Label>
                    <img id="piz" src="../image/piz.png" style="width:150px;" class="ctlsearchinput" />

                    </label>
                <asp:Button ID="btnfil_takephoto" runat="server" Text="&nbsp;" CssClass="ctltakephotobutton"  OnClientClick="JavaScript:takephoto();return false;"  />

                    </span>
                </div>
            </div>
            <br />
             <div class="form-row">
                <div class="frmrow">
                   
                  
                     
                    <span class="sp3">
                    <label>
                    <asp:Button ID="btnsave" CssClass="ctlsavebutton" runat="server" Text="Register" style="width:150px;" OnClientClick="JavaScript:save();return false;" />
                    </label>
                    </span>
                </div>
            </div>

  <br />
        </div>       
        <br />
     
<div id="gtbl" class="grouplist" style="margin-top:-18px;max-height:270px;width:100%;overflow:auto;" onscroll='getnext_item()'>

  <table class='tbl' id='tbldt' style="width:1010px"><thead><tr>

<th style="width:3%;"><span style='font-size:12px;' id='seqno'>No</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='lamp'>Factory (Lamp)</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='linename'>Line name</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='model'>Model</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='partnumber'>Part number</span></th>
<th style="width:15%;">&nbsp;</th>

 </tr>
                   
</thead>
<tbody>
<tr onclick="javascript:edit('_0');return false;">
  

  
   
      <td style="width:3%;"> 
 <asp:Label ID="txt_SeqNo_0" runat="server"  Width="30px" CssClass="fontlabelcontent"></asp:Label> 
 </td> 
    
         <td style="width:5%;"> 
 <asp:Label ID="txt_Lamp_0" runat="server"  MaxLength="0" Width="120px" CssClass="fontlabelcontent"></asp:Label> 
         
 </td> 

   <td style="width:5%;"> 
        <asp:Label ID="txt_LineGroup_0" runat="server"  MaxLength="0" style="width:1px;color:white;"></asp:Label> 

 <asp:Label ID="txt_LineName_0" runat="server"  MaxLength="0" Width="120px" CssClass="fontlabelcontent"></asp:Label> 


 </td> 

       <td style="width:5%;"> 
 <asp:Label ID="txt_Model_0" runat="server"  MaxLength="0" Width="120px" CssClass="fontlabelcontent"></asp:Label> 
            

 </td> 
    
      <td style="width:3%;"> 
          
  <asp:Label ID="txt_PartNumber_0" runat="server"  MaxLength="0" Width="120px" CssClass="fontlabelcontent"></asp:Label> 
</td>


   
      <td style="width:3%;"> 
   
           <asp:Button ID="del1_0" CssClass="button" runat="server"  Text="Cancel" style="max-width:60px;max-height:60px;color:white;margin-top:-5px;background-color:#E3BC08;padding:1em;"  OnClientClick="JavaScript:gvdelrowid(this,'Do you want to cancel the data?');return false;" />

    </td>


   
    </tr>


</tbody></table>
</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 /><br />

   </div>





            

</asp:Content>
