<%@ Page Title="StockMovement Report" Language="C#" MasterPageFile="~/SunMaster.Master" AutoEventWireup="true" CodeBehind="StockMovement.aspx.cs" Inherits="SUNWEB.StockMovement" %>



<%@ Register Assembly="AjaxControlToolkit" TagPrefix="asp" Namespace="AjaxControlToolkit"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

  <script type="text/javascript">
      function MutExChkList(chk) {
          var chkList = chk.parentNode.parentNode.parentNode;
          var chks = chkList.getElementsByTagName("input");
          for (var i = 0; i < chks.length; i++) {
              if (chks[i] != chk && chk.checked) {
                  chks[i].checked = false;
              }
          }
      }
  </script>
  <script type="text/javascript">

    function switchViews(obj, row) {
        var div = document.getElementById(obj);
        var img = document.getElementById('img' + obj);

        if (div.style.display == "none") {
            div.style.display = "inline";
            img.src = "IMG/minus.gif";
        } else {
            div.style.display = "none";
            img.src = "IMG/plus.gif";
        }
    }




    function switchViews5(obj, row) {
        var div = document.getElementById(obj);
        var img = document.getElementById('img' + obj);

        if (div.style.display == "none") {
            div.style.display = "inline";
            img.src = "IMG/minus.gif";
        } else {
            div.style.display = "none";
            img.src = "IMG/plus.gif";
        }
    }


</script>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
         <div align="left">
     <asp:Button ID="Button1" runat="server" CssClass="btn btn-success btn-xs" OnClick="btnExcel_Click"
         Text="Excel" BackColor="Green" BorderColor="Green" ToolTip="To Export the Report Click Here" />
 </div>
 <asp:UpdatePanel runat="server" ID="updatepanelStkMovement" UpdateMode="Conditional">
     <ContentTemplate>

         <div class="section-block">
             <h5 class="section-title">STOCK MOVEMENT  REPORT
             </h5>
         </div>
         <div class="row">

             <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
                 <div class="card">

                     <div class="card-body">
                         <div class="form-row">
                             <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                 <caption>
                                     <label for="validationCustom03">
                                         FROM DATE
                                     </label>
                                     <asp:TextBox ID="txtStartDt" class="form-control" runat="server"></asp:TextBox>
                                     <asp:CalendarExtender ID="calFirstDueDate" Format="yyyy-MM-dd" runat="server" TargetControlID="txtStartDt" PopupPosition="BottomLeft" FirstDayOfWeek="Sunday"></asp:CalendarExtender>

                                 </caption>



                             </div>
                             <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                 <label for="validationCustom03">
                                     TO DATE
                                 </label>

                                 <asp:TextBox ID="txtEndDt" class="form-control" runat="server"></asp:TextBox>
                                 <asp:CalendarExtender ID="CalendarExtender1" Format="yyyy-MM-dd" runat="server" TargetControlID="txtEndDt" PopupPosition="BottomLeft" FirstDayOfWeek="Sunday"></asp:CalendarExtender>




                             </div>
                             <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">

                                 <label for="validationCustom03">
                                     <asp:Label ID="lblBranchAliasName" ForeColor="Gray" runat="server" Text="Branch Selector"></asp:Label></label>
                                 <asp:DropDownList ID="cmbBranches" CssClass="custom-select"
                                     runat="server" AutoPostBack="true"
                                     OnSelectedIndexChanged="cmbBranches_SelectedIndexChanged">
                                 </asp:DropDownList>
                             </div>

                            <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <label for="validationCustom03">
                                <asp:Label ID="Label1" ForeColor="Gray" runat="server" Text="Selection Type"></asp:Label></label>
                            <asp:DropDownList ID="cmbBasicSelection" CssClass="custom-select" runat="server"
                                AutoPostBack="true" OnSelectedIndexChanged="cmbBasicSelection_SelectedIndexChanged">
                                <asp:ListItem Value="0" Text="All Inventory"></asp:ListItem>
                                <asp:ListItem Value="1" Text="Category"></asp:ListItem>
                                <asp:ListItem Value="2" Text="Group1"></asp:ListItem>
                                <asp:ListItem Value="3" Text="Group2"></asp:ListItem>
                                <asp:ListItem Value="4" Text="Group3"></asp:ListItem>
                                <asp:ListItem Value="5" Text="Group4"></asp:ListItem>
                                <asp:ListItem Value="6" Text="Group5"></asp:ListItem>
                                <asp:ListItem Value="7" Text="Single Inventory"></asp:ListItem>
                            </asp:DropDownList>
                          </div>

                             <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                            <label for="validationCustom03">
                                Selection SubType
                            </label>
                            <asp:DropDownList ID="cmbSubSelection" CssClass="custom-select" runat="server" AutoPostBack="true">
                            </asp:DropDownList>
                           </div>
                             <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                                <label for="validationCustom03">
                                InventoryName
                                </label>
                                <asp:TextBox ID="txtSingleInventory" AutoPostBack="true" class="form-control" runat="server" OnTextChanged="txtSingleInventory_TextChanged"></asp:TextBox>
                                <asp:HiddenField ID="hidInven" runat="server" />
                            </div>

                          <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                         <label for="validationCustom03">
                             <asp:Label ID="Label2" ForeColor="Gray" runat="server" Text="Inventory Class"></asp:Label></label>
                         <asp:DropDownList ID="cmbInventoryClass" CssClass="custom-select" runat="server" AutoPostBack="true">
                             <asp:ListItem Value="0" Text="<All>"></asp:ListItem>
                             <asp:ListItem Value="1" Text="Normal products"></asp:ListItem>
                             <asp:ListItem Value="2" Text="Materials"></asp:ListItem>
                             <asp:ListItem Value="3" Text="Assembly"></asp:ListItem>
                             <asp:ListItem Value="4" Text="Misc"></asp:ListItem>
                             <asp:ListItem Value="5" Text="Voucher"></asp:ListItem>
                             <asp:ListItem Value="6" Text="ZeroPrice"></asp:ListItem>
                             <asp:ListItem Value="7" Text="SetMeal"></asp:ListItem>
                             <asp:ListItem Value="8" Text="NonProduct"></asp:ListItem>
                             <asp:ListItem Value="9" Text="Package"></asp:ListItem>
                             <asp:ListItem Value="10" Text="Master"></asp:ListItem>
                             <asp:ListItem Value="11" Text="Slave"></asp:ListItem>
                         </asp:DropDownList>
                         </div>
                          <div class="col-xl-4 col-lg-4 col-md-12 col-sm-12 col-12 mb-2">
                             <label for="validationCustom03">Active or Inactive</label>
                             <asp:DropDownList ID="cmbActiveInactive" CssClass="custom-select" runat="server" AutoPostBack="true">
                                 <asp:ListItem Value="0" Text="<All>"></asp:ListItem>
                                 <asp:ListItem Value="1" Text="Active Only"></asp:ListItem>
                                 <asp:ListItem Value="2" Text="Not Active Only"></asp:ListItem>
                             </asp:DropDownList>


                         </div>
                          <div class="col-2 align-content-center text-right">
                             <asp:Label ID="lblcurrentdb" runat="server" Style="color: transparent"></asp:Label>
                         </div>


                             

                         </div>
                       </div>

                     
                   

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


  
   


    <div class="row">
    <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
        <div class="card">

      <div class="card-body">

      <div>
        <asp:CheckBoxList ID="CheckBoxList1" runat="server" AutoPostBack="true"
        OnSelectedIndexChanged="CheckBoxList1_SelectedIndexChanged">
        <asp:ListItem Text="All" Value="1" onclick="MutExChkList(this);" />
        <asp:ListItem Text="Custom" Value="2" onclick="MutExChkList(this);" />
        </asp:CheckBoxList>
      </div>  
      </div>
        </div>  
    </div>
   </div>
    <div class="row">
     <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
         <div class="card">

             <div class="card-body">

               <div class="row">  
               <div class="col-sm-2">
                <asp:CheckBox ID="chkInventoryAdjust" runat="server" CssClass="custom-checkbox" />
                <span>InventoryAdjust(In)</span>

                </div>
                 <div class="col-sm-2">
                 <asp:CheckBox ID="chk2InventoryadjustOut" runat="server" />
                 <span>InventoryAdjust(Out)</span>
                </div>


                </div>

               <div class="row">  
                     <div class="col-sm-2">

                     <asp:CheckBox ID="chkRetailSale" runat="server" />
                     <span>Retail Sale</span>
                     </div>

                    <div class="col-sm-2">
                    <asp:CheckBox ID="chkReceiveStock" runat="server" />
                    <span>Receive Stock </span>
                    </div> 


                 </div>
               <div class="row">  
                   
                     <div class="col-sm-2">
                     <asp:CheckBox ID="chkTransferStock" runat="server" />
                     <span>Transfer Stock</span>
                    </div>

                    <div class="col-sm-3">
                     <asp:CheckBox ID="chkReturnStock" runat="server" />
                     <span>Return Stock </span>
                     </div>   


                 </div>
             
               <div>
             <asp:Button ID="btnSaveReport" runat="server" class="btn btn-primary"
             Text="Generate Report " OnClick="btnSaveReport_Click" />
             </div>

           <%--Temporarly Disabled some checbox Control--%>
           <table>
               <tr>
                   <%--disabled Temporarly --%>
                   <td style="display: none">
                       <label class="custom-control custom-checkbox">
                           <asp:CheckBox ID="chkPurchaseInvoice" runat="server" /><span> Purchase Invoice
                    Flag</span>
                       </label>
                   </td>
                   <%--disabled Temporarly --%>
                   <td style="display: none">
                       <label class="custom-control custom-checkbox">
                           <asp:CheckBox ID="chkSalesInvoice" runat="server" />
                           <span>Sales Invoice </span>
                       </label>
                   </td>
               </tr>
               <tr>
                     <%--disabled Temporarly --%>
                    <td style="display:none">
                        <label class="custom-control custom-checkbox">
                            <asp:CheckBox ID="chkStockCheck" runat="server" />
                            <span>Stock Check </span>
                        </label>
                    </td>
                      <%--disabled Temporarly --%>
                    <td style="display:none">
                        <label class="custom-control custom-checkbox">
                            <asp:CheckBox ID="chkPurchaseInvoiceReturn" runat="server" />
                            <span>Purchase Invoice Return </span>
                        </label>
                    </td>


                </tr>
               <tr>
                   <td style="display:none">

                     <div class="col-sm-2">
                     <asp:CheckBox ID="chkSalesInvoiceReturn" runat="server" />
                     <span>Sales Invoice Return </span>
                    </div>
                   </td>

               </tr>

              
           </table>
       </div>
      </div>
         
             
   </div>
   </div>
    <div class="row">

 <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 d-block">
     <%--  <div class="row">--%>
     <%--OnDataBound="OnDataBound" OnRowCreated="GridView1_RowCreated"--%>
     <div class="card">
         <div class="card-header" id="idGenReport" runat="server">
             <asp:Label ID="lblMsgTotalSelection" runat="server" CssClass="Labels"></asp:Label>
         </div>
         <div class="card-body">
             <div class="table-responsive">
                 <table id="Table1" class="table table-striped table-bordered second" style="width: 100%">
                     <tbody>
                         <caption>
                             <asp:GridView ID="grdStockMoment" EnableViewState="false" runat="server" Width="1000px" DataKeyNames="categoryid"
                                 AutoGenerateColumns="False" PageSize="500000000" OnRowDataBound="grdStockMoment_RowDataBound"
                                 Font-Size="12px" BorderStyle="None" BorderWidth="1px" CellPadding="3" EmptyDataText="No Data Found Between these Dates !">
                                 <Columns>

                                     <asp:TemplateField ItemStyle-Width="25px">
                                         <ItemTemplate>
                                             <a href="javascript:switchViews('div<%# Eval("categoryid") %>', 'one');">
                                                 <img id="imgdiv<%# Eval("categoryid") %>" alt="Click to show/hide Details" border="0"
                                                     src="IMG/plus.gif" width="12px" />
                                             </a>
                                         </ItemTemplate>
                                         <AlternatingItemTemplate>
                                             <a href="javascript:switchViews('div<%# Eval("categoryid") %>', 'alt');">
                                                 <img id="imgdiv<%# Eval("categoryid") %>" alt="Click to show/hide Details" border="0"
                                                     src="IMG/plus.gif" width="12px" />
                                             </a>
                                         </AlternatingItemTemplate>
                                     </asp:TemplateField>




                                     <asp:TemplateField HeaderText="Categoryid" Visible="false">
                                         <ItemTemplate>
                                             <asp:Label ID="lblCategoryid" runat="server" Text='<%#Eval("CategoryID") %>'></asp:Label>
                                         </ItemTemplate>
                                         <ControlStyle BorderWidth="0px" />
                                         <HeaderStyle BorderWidth="1px" HorizontalAlign="Center" />
                                         <ItemStyle Width="100px" BorderWidth="1px" />
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="BARCODE" Visible="false">
                                         <ItemTemplate>
                                             <asp:Label ID="lblBarcodeS" runat="server" Text='<%#Eval("Barcode") %>'></asp:Label>
                                         </ItemTemplate>
                                        
                                     </asp:TemplateField>


                                     <asp:BoundField DataField="CategoryName" HeaderText="CATEGORYNAME" ItemStyle-Width="250px">
                                         <ItemStyle Width="150px"></ItemStyle>
                                     </asp:BoundField>

                                     <asp:TemplateField HeaderText="STOCK IN">
                                         <ItemTemplate>
                                             <asp:Label ID="lblSTOCKIN" runat="server" Text='<%# string.Format("{0:n2}", Eval("StockinQty")) %>'></asp:Label>
                                         </ItemTemplate>
                                        
                                     </asp:TemplateField>

                                     <asp:TemplateField HeaderText="STOCK OUT">
                                         <ItemTemplate>
                                             <asp:Label ID="lblSTOCKOUT" runat="server" Text='<%# string.Format("{0:n2}", Eval("StockOutQty")) %>'></asp:Label>
                                         </ItemTemplate>
                                       
                                     </asp:TemplateField>


                                     <asp:TemplateField HeaderText="STOCK CHECK">
                                         <ItemTemplate>
                                             <asp:Label ID="lblSTOCKCHECK" runat="server" Text='<%# string.Format("{0:n2}", Eval("Stockcheck")) %>'></asp:Label>
                                         </ItemTemplate>
                                        
                                     </asp:TemplateField>




                                     <asp:TemplateField>
                                         <ItemTemplate>
                                             <tr>
                                                 <td colspan="100%" style="padding-left: 25px">
                                                     <div id="div<%# Eval("CategoryID") %>" style="display: none; left: 80px;">
                                                         <asp:GridView ID="grdDetails" runat="server" AutoGenerateColumns="false" CellPadding="4" DataKeyNames="InventoryID"
                                                             ForeColor="#333333" Height="150px" Width="850px" OnRowDataBound="grdDetails_RowDataBound">
                                                             
                                                             <Columns>


                                                                 <asp:TemplateField>
                                                                     <ItemTemplate>
                                                                         <a href="javascript:switchViews5('div<%# Eval("Barcode") %>', 'one');">
                                                                             <img id="imgdiv<%# Eval("Barcode") %>" alt="Click to show/hide Details" border="0"
                                                                                 src="IMG/plus.gif" />
                                                                         </a>
                                                                     </ItemTemplate>
                                                                     <AlternatingItemTemplate>
                                                                         <a href="javascript:switchViews5('div<%# Eval("Barcode") %>', 'alt');">
                                                                             <img id="imgdiv<%# Eval("Barcode") %>" alt="Click to show/hide Details" border="0"
                                                                                 src="IMG/plus.gif" />
                                                                         </a>
                                                                     </AlternatingItemTemplate>
                                                                 </asp:TemplateField>



                                                                 <%--<asp:TemplateField HeaderText="INVENTORYID">
                                                                     <ItemTemplate>
                                                                     <asp:Label ID="lblINVENTORYID" runat="server" Text='<%#Eval("InventoryID") %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                     <ControlStyle BorderWidth="0px" />
                                                                     <HeaderStyle BorderWidth="1px" HorizontalAlign="Center" />
                                                                     <ItemStyle Width="100px" BorderWidth="1px" />
                                                                     </asp:TemplateField>
                                                                 --%>
                                                                 <asp:BoundField />
                                                                 <asp:BoundField />
                                                                 <asp:BoundField />

                                                                 <asp:TemplateField HeaderText="BARCODE">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblBarcode" runat="server" Text='<%#Eval("Barcode") %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                     
                                                                 </asp:TemplateField>



                                                                 <asp:TemplateField HeaderText="INVENTORYNAME" ItemStyle-Width="255px">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblINVENTORYNAME" runat="server" Text='<%#Eval("InventoryName") %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                    
                                                                 </asp:TemplateField>



                                                                 <asp:TemplateField HeaderText="REFNO" Visible="false">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblRefNo" runat="server" Text='<%#Eval("RefNo") %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                    
                                                                 </asp:TemplateField>



                                                                 <asp:TemplateField HeaderText="Type" Visible="false">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblRefType" runat="server" Text='<%#Eval("RefType") %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                  
                                                                 </asp:TemplateField>




                                                                 <asp:TemplateField HeaderText="REFDATE" Visible="false">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="Date" runat="server" Text='<%#Eval("RefDate","{0:yyyy-MM-dd}") %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                    
                                                                 </asp:TemplateField>

                                                                 <asp:TemplateField HeaderText="STOCK IN">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblSTOCKIN" runat="server" Text='<%# string.Format("{0:n2}", Eval("StockinQty")) %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                    
                                                                 </asp:TemplateField>

                                                                 <asp:TemplateField HeaderText="STOCK OUT">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblSTOCKOUT" runat="server" Text='<%# string.Format("{0:n2}", Eval("StockOutQty")) %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                     
                                                                 </asp:TemplateField>


                                                                 <asp:TemplateField HeaderText="STOCK CHECK">
                                                                     <ItemTemplate>
                                                                         <asp:Label ID="lblSTOCKCHECK" runat="server" Text='<%# string.Format("{0:n2}", Eval("Stockcheck")) %>'></asp:Label>
                                                                     </ItemTemplate>
                                                                    
                                                                 </asp:TemplateField>

                                                                 <asp:TemplateField>
                                                                     <ItemTemplate>
                                                                         <tr>
                                                                             <td colspan="100%" style="padding-left: 20px">
                                                                                 <div id="div<%#Eval("Barcode") %>" style="display: none; left: 80px;">
                                                                                     <asp:GridView ID="grdTransDetails" runat="server" AutoGenerateColumns="false" CellPadding="2"
                                                                                         ForeColor="#333333" Height="150px" Width="900px">
                                                                                         
                                                                                         <Columns>
                                                                                             <asp:TemplateField HeaderText="BARCODE" Visible="false">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="lblBarcode" runat="server" Text='<%#Eval("Barcode") %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                            
                                                                                             </asp:TemplateField>


                                                                                             <asp:TemplateField HeaderText="REFNO">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="lblRefNo" Width="100px" runat="server" Text='<%#Eval("RefNo") %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                                
                                                                                             </asp:TemplateField>

                                                                                               <asp:TemplateField HeaderText="BATCHID">
                                                                                              <ItemTemplate>
                                                                                              <asp:Label ID="lblbatchid" runat="server" Text='<%#Eval("BatchID") %>'></asp:Label>
                                                                                              </ItemTemplate>
                                                                                           
                                                                                              </asp:TemplateField>

                                                                                             <asp:TemplateField HeaderText="Type">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="lblRefType" Width="200px" runat="server" Text='<%#Eval("RefType") %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                             
                                                                                             </asp:TemplateField>




                                                                                             <asp:TemplateField HeaderText="REFDATE">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="Date" runat="server" Text='<%#Eval("RefDate","{0:yyyy-MM-dd}") %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                                </asp:TemplateField>

                                                                                             <asp:TemplateField HeaderText="STOCK IN">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="lblSTOCKIN" runat="server" Text='<%# string.Format("{0:n2}", Eval("StockinQty")) %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                             </asp:TemplateField>

                                                                                             <asp:TemplateField HeaderText="STOCK OUT">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="lblSTOCKOUT" runat="server" Text='<%# string.Format("{0:n2}", Eval("StockOutQty")) %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                             </asp:TemplateField>


                                                                                             <asp:TemplateField HeaderText="STOCK CHECK">
                                                                                                 <ItemTemplate>
                                                                                                     <asp:Label ID="lblSTOCKCHECK" runat="server" Text='<%# string.Format("{0:n2}", Eval("Stockcheck")) %>'></asp:Label>
                                                                                                 </ItemTemplate>
                                                                                            </asp:TemplateField>


                                                                                         </Columns>
                                                                                         <HeaderStyle BackColor="White" ForeColor="Black" />
                                                                                         <FooterStyle BackColor="White" ForeColor="Black" />
                                                                                     </asp:GridView>
                                                                                 </div>
                                                                             </td>
                                                                         </tr>
                                                                     </ItemTemplate>
                                                                 </asp:TemplateField>


                                                             </Columns>
                                                             <HeaderStyle BackColor="White" ForeColor="Black" />
                                                             <FooterStyle BackColor="White" ForeColor="Black" />
                                                         </asp:GridView>
                                                     </div>
                                                 </td>
                                             </tr>
                                         </ItemTemplate>
                                     </asp:TemplateField>

                                 </Columns>
                                 <HeaderStyle BackColor="White" ForeColor="Black" />
                                 <FooterStyle BackColor="White" ForeColor="Black" />
                                 <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                                 <RowStyle ForeColor="#000066" />
                                 <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                 <SortedAscendingHeaderStyle BackColor="#007DBB" />
                                 <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                 <SortedDescendingHeaderStyle BackColor="#00547E" />
                             </asp:GridView>
                         </caption>
                     </tbody>
                 </table>
             </div>
         </div>

     </div>
 </div>

 </ContentTemplate>



</asp:UpdatePanel>

 <asp:UpdateProgress ID="UpdateProgress" runat="server" AssociatedUpdatePanelID="updatepanelStkMovement">
     <ProgressTemplate>
         <div class="overlay">
             <%--  <div style="z-index: 1000; margin-left: 450px; margin-top: 0; opacity: 1; -moz-opacity: 1;">--%>
             <div class="LoadingDivCss">
                 <img alt="" src="IMG/Spinner.gif" class="LoadingImgCss" />
             </div>
         </div>
     </ProgressTemplate>
 </asp:UpdateProgress>
             


             
                     
    

</asp:Content>
