<%@ Page Title="CSV Download" Language="C#" MasterPageFile="~/approve/Approve.Master" AutoEventWireup="true" CodeBehind="Machine_inspection_csv_download.aspx.cs" Inherits="CheckSheet.approve.Machine_inspection_csv_download" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="Machine_inspection_csv_download.js?v=123"></script>
    <div id="frommain">

        <div id="g1" 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="Download CSV of Machine inspection result"  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="sp1">
                    <label>
                    <asp:Label ID="lbl_machinename" runat="server" CssClass="fontlabel"   Text="Machine:" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_MachineName"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_machine" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_MachineName','MainContent_txt_MachineName','machineid','machinename','MachineMaster','');return false;"  />

                    </label>
                    </span>

                   
                   
                    
                </div>
            </div><br />
            <div class="form-row">
<div class="frmrow" style="padding-left:115px;">                    
<span class="sp1">
    
    
    <div class="column">
 <label> 
<div class="column"><lbl id="lbl_RDate" class="fontlabel" style="width:195px;font-size:14px;">Date</lbl></div> 
<div class="column"><input type="text" placeholder="DD" id="d_RDate" class="inputcss" style="width:40px;"></div>
<div class="column"><input type="text" placeholder="MM" id="m_RDate" class="inputcss" style="width:40px;"></div>
<div class="column"><input type="text" placeholder="YYYY" id="y_RDate" class="inputcss" style="width:60px;">
</div>
<div class="column"><asp:ImageButton ID="imb_RDate" runat="server"  CssClass="ctldatebutton" ImageUrl="~/image/calendar.png" Height="30"  OnClientClick="Javascript:date('d_RDate','m_RDate','y_RDate');return false;"/>
</div></label>

</div>
            



 
        
<div class="column">
 <label> 
<div class="column"><lbl id="lbl_RDate1" class="fontlabel" style="width:195px;font-size:14px;">To</lbl></div> 
<div class="column"><input type="text" placeholder="DD" id="d_RDate1" class="inputcss" style="width:40px;"></div>
<div class="column"><input type="text" placeholder="MM" id="m_RDate1" class="inputcss" style="width:40px;"></div>
<div class="column"><input type="text" placeholder="YYYY" id="y_RDate1" class="inputcss" style="width:60px;">
</div>
<div class="column"><asp:ImageButton ID="imb_RDate1" runat="server"  CssClass="ctldatebutton" ImageUrl="~/image/calendar.png" Height="30"  OnClientClick="Javascript:date('d_RDate1','m_RDate1','y_RDate1');return false;"/>
</div></label>

</div>
            
                                
   </span>



</div></div>   <br /> 
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btncsvdownload" CssClass="button" runat="server" Text="Download" style="width:150px;color:white;padding:1em;"   />
                    </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>
