<%@ Page Title="Edit inspection item (x-R)" Language="C#" MasterPageFile="~/setting/Setting.Master" AutoEventWireup="true" CodeBehind="XR_inspection_item_edit.aspx.cs" Inherits="CheckSheet.setting.XR_inspection_item_edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <script type="text/javascript" src="XR_inspection_item_edit.js?v=1"></script>

        <div id="frommain">
        
        <div id="g1" class="grouplist" style="padding-bottom:10px;">

             <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="Edit item for x-R Chart"  width="350px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp2">
                    <label>
                            <asp:Label ID="lblsubhd" runat="server"  CssClass="content"  Text="Register/Edit item"  width="250px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_checkitem" runat="server" CssClass="fontlabel"   Text="Check item :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_checkitem"  runat="server" Width="250" ToolTip="*Check Items" CssClass="ctlsearchinput"> </asp:TextBox>

                    </label>
                    </span>
                  
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_who" runat="server" CssClass="fontlabel"   Text="Who :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_whoId"  runat="server" Width="250" ToolTip="*Who check" placeholder="ID" CssClass="ctlsearchinput"> </asp:TextBox>

                    </label>
                    </span>
                  
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="Label1" runat="server" CssClass="fontlabel"   Text="" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_WhoName"  runat="server" Width="250" ToolTip="*Who name check"  placeholder="Name" CssClass="ctlsearchinput"> </asp:TextBox>
                    <asp:Button ID="btnfil_who" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_whoId','MainContent_txt_WhoName','usercode','firstname+\' \'+lastname','Users','');return false;"  />

                    </label>
                    </span>
                  
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_frequency" runat="server" CssClass="fontlabel"   Text="Frequency :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_frequencyId"  runat="server" Width="250" ToolTip="*Frequency" placeholder="Id" CssClass="ctlsearchinput"> </asp:TextBox>

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

                <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_dayweek" runat="server" CssClass="fontlabel"   Text="Day :" width="150px"></asp:Label>
                    <asp:DropDownList ID="ddl_dayweek"  runat="server" Width="100">
                         <asp:ListItem Value="" Text="Please select"></asp:ListItem>
                        <asp:ListItem Value="Monday" Text="Monday"></asp:ListItem>
                        <asp:ListItem Value="Tuesday" Text="Tuesday"></asp:ListItem>
                        <asp:ListItem Value="Wednesday" Text="Wednesday"></asp:ListItem>
                        <asp:ListItem Value="Thursday" Text="Thursday"></asp:ListItem>
                        <asp:ListItem Value="Friday" Text="Friday"></asp:ListItem>
                        <asp:ListItem Value="Saturday" Text="Saturday"></asp:ListItem>
                        <asp:ListItem Value="Sunday" Text="Sunday"></asp:ListItem>
                        
                     </asp:DropDownList>

                    </label>

                       <label>
                    <asp:Label ID="lbl_Date" runat="server" CssClass="fontlabel"   Text="Date :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_Date"  runat="server" Width="50" ToolTip="int" CssClass="ctlsearchinput"> </asp:TextBox>

                    </label>


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

             <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="Label2" runat="server" CssClass="fontlabel"   Text="" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_frequencyName"  runat="server" Width="250" ToolTip="*Frequency" placeholder="Name" CssClass="ctlsearchinput"> </asp:TextBox>
                    <asp:Button ID="btnfil_frequency" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_frequencyId','MainContent_txt_frequencyName','freqid','freqname','mst_Frequency','');return false;"  />

                    </label>
                    </span>
                    </div>
              </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_how" runat="server" CssClass="fontlabel"   Text="How :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_how"  runat="server" Width="350" TextMode="MultiLine" Rows="10" ToolTip="*How" CssClass="ctlsearchinput"> </asp:TextBox>

                    </label>
                    </span>
                  
                </div>
            </div>        <br /><br />  <br /><br /><br />
             <div class="form-row" style="margin-top:-20px;">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_inputmethod" runat="server" CssClass="fontlabel"   Text="Input method :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_inputmethodId"  runat="server" Width="250" ToolTip="*Input method" placeholder="ID" CssClass="ctlsearchinput"> </asp:TextBox>

                    </label>
                    </span>
                    
                </div>
            </div>
          <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="Label3" runat="server" CssClass="fontlabel"   Text="" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_inputmethodName"  runat="server" Width="250" ToolTip="*Input method" placeholder="Name" CssClass="ctlsearchinput"> </asp:TextBox>
                    <asp:Button ID="btnfil_inputmethod" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_inputmethodId','MainContent_txt_inputmethodName','input_type_id','input_type_name','mst_ContentInput','');return false;"  />

                    </label>
                    </span>
                    
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_unit" runat="server" CssClass="fontlabel"   Text="Unit :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_unitId"  runat="server" Width="250" ToolTip="*Unit"  placeholder="ID" CssClass="ctlsearchinput"> </asp:TextBox>

                    </label>
                    </span>
                    
                </div>
            </div>
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="Label4" runat="server" CssClass="fontlabel"   Text="" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_unitName"  runat="server" Width="250" ToolTip="*Unit name" placeholder="Name" CssClass="ctlsearchinput"> </asp:TextBox>
                    <asp:Button ID="btnfil_unit" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_unitId','MainContent_txt_unitName','unitid','unitname','mst_Unit','');return false;"  />

                    </label>
                    </span>
                    
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_x" runat="server" CssClass="fontlabel"   Text="X :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_x"  runat="server" Width="250" CssClass="ctlsearchinput"> </asp:TextBox>
                    </label>
                    </span>

                   
                   
                    
                </div>
            </div>
             <div class="form-row">
                  <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_upperlimit" runat="server" CssClass="fontlabel"   Text="Upper limit :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_upperlimit"  runat="server" Width="250" CssClass="ctlsearchinput" style="text-align: right" onkeyup="if (/[^0-9\.\,]/g.test(this.value)) this.value = this.value.replace(/[^0-9\.\,]/g,'')"> </asp:TextBox>
                    </label>
                    </span>

                   
                   
                    
                </div>
            </div>
             <div class="form-row">
                  <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_lowerlimit" runat="server" CssClass="fontlabel"   Text="Lower limit :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_lowerlimit"  runat="server" Width="250" CssClass="ctlsearchinput" style="text-align: right" onkeyup="if (/[^0-9\.\,]/g.test(this.value)) this.value = this.value.replace(/[^0-9\.\,]/g,'')"> </asp:TextBox>
                    </label>
                    </span>

                   
                   
                    
                </div>
            </div>
             <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>
                 
     
        <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"  OnClientClick="javascript:back();return false;"/>

                    </label>
                    </span>
                    
                </div>
            </div><br />
            </div>
            </div>
</asp:Content>
