<%@ Page Title="Register inspection" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="RegisterInspection.aspx.cs" Inherits="CheckSheet.RegisterInspection" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="RegisterInspection.js?v=12"></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="Inspection Line group"  width="250px"></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="sp1">
                    <label>
                    <asp:Label ID="lbl_machinename" runat="server" CssClass="fontlabel"   Text="Machine name :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_machinename"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                   <asp:Button ID="btnfil_machinename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_machinename','MainContent_txt_machineid','machinename','machineid','MachineMaster','');return false;"  />

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

             <br />

        </div>
        <div id="g1" class="grouplist">
 <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                            <div id="stdt" class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lbldt" runat="server"  CssClass="frmheader"  Text="Inspection item"  width="250px"></asp:Label>
                   
                    </label>
                    </span>
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnadd" runat="server"  Text="New Rows"  style="height:40px;width:150px;color:white;"  CssClass="ctlcopybutton" OnClientClick ="JavaScript:newrows(this);return false;" />

                    </label>
                    </span>
                    
                </div>
             </div>
      
            <div id="gtbl" class="grouplist" style="margin-top:-2px;max-height:270px;width:100%;overflow:auto;" onscroll='getnext()'>
               <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='item'>Item</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='who'>Who</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='frequency'>Frequency</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='how'>How</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='criteria'>Criteria</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='unit'>Unit</span></th>
<th style="width:10%;" colspan="2"><span style='font-size:12px;' id='control'>Edit/Delete</span></th>

 </tr>
                   
</thead>
<tbody>
<tr>
  

   
     
  

   
      <td style="width:3%;"> 
 <asp:TextBox ID="txt_SeqNo_0" runat="server"  Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
 </td> 
    
         <td style="width:5%;"> 
 <asp:TextBox ID="txt_Item_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
         
 </td> 
   <td style="width:5%;"> 
 <asp:TextBox ID="txt_Who_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 


 </td> 

       <td style="width:5%;"> 
 <asp:TextBox ID="txt_Freq_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
    
       <td style="width:5%;"> 
 <asp:TextBox ID="txt_How_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 

    
       <td style="width:5%;"> 
 <asp:TextBox ID="txt_Crit_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
     <td style="width:5%;"> 
 <asp:TextBox ID="txt_Unit_0" runat="server"  MaxLength="0" Width="95%" style="border-style:none;box-shadow:none;" ReadOnly="true"></asp:TextBox> 
            

 </td> 
   
   <td style="width:3%;"> <asp:ImageButton ID="add_0" runat="server"  CssClass="ctldatebutton" ImageUrl="~/image/sub5.png" Height="40" OnClientClick="JavaScript:gvedit(this);return false;"/>

    </td>

     <td style="width:3%;"> <asp:ImageButton ID="del_0" runat="server"  CssClass="ctldatebutton" ImageUrl="~/image/delrow.png" Height="40" OnClientClick="JavaScript:gvdelrowid(this,'Do you want to delete the data?');return false;"/>

    </td>

    </tr>

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


   </div>
</asp:Content>
