<%@ Page Title="List Data" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ListItem.aspx.cs" Inherits="SCRAP_WEB.ListItem" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> 

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript" src="ListItem.js?v=1113"></script>



<asp:Panel ID="Panel1" runat="server" style="overflow:no-display;" Width="100%" Height="600px"> 


 <div id="frommain">
        <div id="g1" class="grouplist">

            
             <div class="form-row">
                <div class="frmrow">
                     <span class="sp1">
                    <label>
                    <asp:Label ID="lblPageName" runat="server"  CssClass="frmheader"  Text="List Data"  width="120px"></asp:Label>
                   
                    </label>
                    </span>
                    <span class="sp3">
                    <label>
                    <asp:Label ID="lbl_docno" runat="server" CssClass="fontlabel"  ToolTip="codegen"   Text="Doc entry no." width="120px"></asp:Label>
                    <asp:TextBox ID="txt_docno"  runat="server" Width="160px"  ToolTip="codegen"   CssClass="ctlsearchinput" style="text-align:left;"></asp:TextBox> 
                    <ajax:AutoCompleteExtender 
  ID="ac_docno"  
  BehaviorID="bi_docno"  
  runat="server"  
  CompletionSetCount="10"  
  MinimumPrefixLength="1"  
  TargetControlID="txt_docno"  
  ServicePath="~/Autokeyword.asmx" 
  ServiceMethod="GetCodeFilter" 
  ContextKey="DocNo,SCRAP_MASTER,DocNo,'',''" 
  CompletionInterval="100" 
  DelimiterCharacters=";," 
  CompletionListCssClass="completionLists80" 
  CompletionListHighlightedItemCssClass="itemHighlighted"  
  CompletionListItemCssClass="listItem"> 
  </ajax:AutoCompleteExtender>    
                    </label>
                    </span>
                </div>
            </div>

      <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;">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>
            
                                
   </span>

    <span  class="sp2"><label> <asp:Label ID="lbl_To2" runat="server"  CssClass="fontlabel"  Text="To"    width="120px" style="text-align: center"></asp:Label></label></span>

    <span  class="sp3">
 
        
<div class="column">
 <label> 
<div class="column"><lbl id="lbl_RDate1" class="fontlabel" style="width:195px;">Date</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>    

             <div class="form-row">
                <div class="frmrow">

                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_section" runat="server" CssClass="fontlabel"   Text="Section :" width="120px"></asp:Label>
                     <asp:DropDownList ID="ddl_section"  runat="server" Width="160">
                    </asp:DropDownList>
                    </label>
                    </span>

                    <span class="sp3">
                    <label>
                    <asp:Button ID="btnserch" CssClass="ctlfindbutton" runat="server" Text="Search" OnClientClick="JavaScript:search();return false;" />
                    </label>
                    </span>
                  
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                    
                   
                </div>
            </div>
        </div>       

             
     
<div id="g2" class="grouplist" style="margin-top:-3px;width:99%;overflow:auto;">
 <table class='gv_headers' id='tbldt' style="width:98%;overflow:scroll;"><thead><tr>

<th style="width:11%;" colspan="3"><asp:Label ID="lblcontrol" runat="server" Width="100%"></asp:Label> </th>
<th style="width:6%;"><asp:Label ID="seqno" runat="server" Width="100%">No</asp:Label> </th>
<th style="width:10%;"><asp:Label ID="docno" runat="server" Width="100%">Doc No.</asp:Label></th>
<th style="width:9%;"><asp:Label ID="date" runat="server" Width="100%">Date</asp:Label></th>
<th style="width:10%;"><asp:Label ID="section" runat="server" Width="100%">Section</asp:Label></th>
<th style="width:9%;"><asp:Label ID="shop" runat="server" Width="100%">Shop</asp:Label></th>
<th style="width:12%;"><asp:Label ID="scraptype" runat="server" Width="100%">Scrap Type</asp:Label></th>
<th style="width:10%;"><asp:Label ID="ngfrom" runat="server" Width="100%">NG From</asp:Label></th>
<th style="width:12%;"><asp:Label ID="status" runat="server" Width="100%">Status</asp:Label></th>
      <th style="width:12%;"><asp:Label ID="remark" runat="server" Width="100%">Remark</asp:Label></th>
<th style="width:500px;"></th>






<th></th>

 </tr>
                   
</thead>
<tbody id='tbdy' style='height:400px; overflow:scroll;' onscroll='getnext()'>
<tr>
 <td style="width:1%;"> 
    
    <asp:Button ID="imgview_0" runat="server"  CssClass="ctldatebutton" Text="Edit"  Height="30px"  OnClientClick ="JavaScript:openedit(this);return false;" />
    
</td>
    <td style="width:1%;"> 
    
    <asp:Button ID="imgreport_0" runat="server"  CssClass="ctldatebutton" Text="Print" Height="30px"  OnClientClick ="JavaScript:openreport(this);return false;" />
    
</td>
    <td style="width:1%;">  <asp:ImageButton ID="imgdel_0" runat="server"  CssClass="ctldatebutton" ImageUrl="~/image/del.png" Height="30" OnClientClick="JavaScript:gvdelrowid(this,'Do you want to delete the data?');return false;"/>

    </td>
     
<td style="width:3%;"> 
         <asp:Label ID="txt_SeqNo_0" runat="server"   Width="100%" CssClass="fontlabelcontent" ></asp:Label> 

 </td> 

 <td style="width:7%;"> 
 <asp:Label ID="txt_DocNo_0" runat="server"   MaxLength="0" Width="100%" CssClass="fontlabelcontent"  ></asp:Label> 

 </td> 

     <td style="width:7%;"> 
 <asp:Label ID="txt_DocDate_0" runat="server"   MaxLength="0" Width="100%" CssClass="fontlabelcontent"></asp:Label> 

 </td> 

       <td style="width:7%;"> 
 <asp:Label ID="txt_Section_0" runat="server"   MaxLength="0" Width="100%" CssClass="fontlabelcontent"></asp:Label> 


 </td> 

 
       <td style="width:7%;"> 
 <asp:Label ID="txt_Shop_0" runat="server"  MaxLength="0" Width="100%" CssClass="fontlabelcontent"></asp:Label> 


 </td> 
 
   <td style="width:7%;"> 

 <asp:Label ID="txt_ScrapType_0"  runat="server" Width="100%" CssClass="fontlabelcontent"></asp:Label> 
  
   </td>
   <td style="width:7%;"> 
 <asp:Label ID="txt_NGFrom_0" runat="server"    Width="100%" CssClass="fontlabelcontent"></asp:Label> 
 </td>
     <td style="width:7%;"> 

   <asp:Label ID="txt_DocStatus_0" runat="server"  Width="100%" style="text-align: center" CssClass="fontlabelcontent" ></asp:Label>
       
     </td>
     <td style="width:7%;"> 

   <asp:Label ID="txt_Remark_0" runat="server"  Width="100%" style="text-align: center" CssClass="fontlabelcontent" ></asp:Label>
       
     </td>
   
    </tr>


</tbody></table>
     <div id="amtrowpage" class="frmheader" style="font-size:14px;margin-top:20px;float:right;margin-right:20px;"></div>
</div>

   


     </div>
    </asp:Panel>

</asp:Content>


