<%@ Page Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true" CodeFile="ManualGLEntry.aspx.cs" Inherits="Business_ManualGLEntry" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
	<!-- DataTables -->
	<link rel="stylesheet" href="../plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
	<link rel="stylesheet" href="../plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
	<link rel="stylesheet" href="../plugins/datatables-buttons/css/buttons.bootstrap4.min.css">

    <style type="text/css">
        .header-center {
            text-align: center;
        }
    </style>

    <script language="javascript" type="text/javascript">

        function KeyPressFuncNotSpecialCharecter() {
            if ((event.keyCode >= 47 && event.keyCode <= 57) || (event.keyCode >= 65 && event.keyCode <= 90) || (event.keyCode >= 97 && event.keyCode <= 122)) {
                event.returnValue = true;
            }
            else {
                event.returnValue = false;
            }
        }
        function KeyPressFuncIsWholeNumber() {
            if (event.keyCode < 48 || event.keyCode > 57) {
                event.returnValue = false;
            }
        }
    </script>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<asp:ScriptManager ID="ScriptManager1" runat="server">
	</asp:ScriptManager>
	<!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1>Manual GL Entry</h1>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                            <li class="breadcrumb-item"><a href="#">Home</a></li>
                            <li class="breadcrumb-item active">ATM Replenishment</li>
                            <li class="breadcrumb-item active">Manual GL Entry</li>
                        </ol>
                    </div>
                </div>
            </div>
            <!-- /.container-fluid -->
        </section>
        <!-- /.content-header -->
        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">
                <div class="card card-warning">
                    <%--<div class="card-header">
                <h3 class="card-title">Search Filters</h3>
              </div>--%>
                    <!-- /.card-header -->
                    <div class="card-body">
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="form-group">
                                    <label>ATM No</label>
                                    <asp:TextBox ID="txtATMNo" runat="server" class="form-control" MaxLength="4"></asp:TextBox>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="form-group">
                                    <label>Replenishment Date</label>
                                    <div class="input-group date" id="sreplenishmentdate" data-target-input="nearest">
                                        <asp:TextBox ID="txtsrepldate" data-target="#sreplenishmentdate" runat="server" class="form-control datetimepicker-input"></asp:TextBox>
                                        <div class="input-group-append" data-target="#sreplenishmentdate" data-toggle="datetimepicker">
                                            <div class="input-group-text"><i class="fa fa-calendar"></i></div>
                                        </div>
                                        <asp:TextBox ID="picksrepldate" runat="server" Visible="false" class="form-control"></asp:TextBox>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <label>ATM Type</label>
                                <div class="form-group">
                                    <asp:DropDownList ID="ddlSearchRecordType" runat="server" class="form-control select">
                                        <asp:ListItem Value="030">Deposit</asp:ListItem>
                                        <asp:ListItem Value="009">Dispense</asp:ListItem>
                                        <asp:ListItem Value="039">Recycle</asp:ListItem>
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <label>Record Status</label>
                                <div class="form-group">
                                    <asp:DropDownList ID="ddlRecordStatus" runat="server" class="form-control select" AutoPostBack="False" DataTextField="brs_desc" DataValueField="brs_id">
                                    </asp:DropDownList>
                                </div>
                            </div>
                            <div class="col-sm-12" style="text-align: center">
                                <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="btn btn-primary btn-l" OnClick="btnSearch_Click" />
                            </div>
                        </div>
                        <!-- /.card-body -->
                    </div>
                </div>
                <!-- /.container-fluid -->

                <!-- Default box -->
                <div id="GLEntrySResults" class="card card-info color-palette-box" runat="server" visible="false">
                    <div class="card-header">
                        <h3 class="card-title">
                            <i class="fas fa-tag"></i>
                            <!-- Search Results -->
                            Manual GL Entry Search Results
                        </h3>

                        <div class="card-tools">
                            <button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
                                <i class="fas fa-minus"></i>
                            </button>
                        </div>
                    </div>
                    <div class="card-body">
                        <div style="min-height: 100px; width: 100%; display: inline-block; vertical-align: top; overflow-x: auto;">
                            <asp:GridView ID="GridView1" class="table table-striped table-bordered" runat="server" AutoGenerateColumns="False"
                                DataKeyNames="bard_id" OnRowCommand="GridView1_RowCommand" OnRowCreated="GridView1_RowCreated" EmptyDataText="There are no results">
                                <Columns>
                                    <asp:BoundField DataField="branch_code" HeaderText="Branch&nbsp;Code" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="atm_number" HeaderText="ATM&nbsp;No" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="record_type" HeaderText="Record&nbsp;Type" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="Repl_curr" HeaderText="Currency" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="replenishment_date" HeaderText="Repl&nbsp;Date" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="replenishment_time" HeaderText="Repl&nbsp;Time" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="opening_balance" HeaderText="Opening&nbsp;Balance" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="closing_balance" HeaderText="Closing&nbsp;Balance" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="record_status" HeaderText="Record&nbsp;Status" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="teller" HeaderText="Account&nbsp;No" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="atm_no" HeaderText="ATM&nbsp;Number" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="repl_date" HeaderText="Repl&nbsp;Date" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="repl_status" HeaderText="Status" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="atm_type" HeaderText="ATM&nbsp;Type" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="repl_curr_code" HeaderText="Repl&nbsp;Curr&nbsp;Code" HeaderStyle-CssClass="header-center" />
                                    <asp:BoundField DataField="Retract_Amt" HeaderText="Retract&nbsp;Amt" HeaderStyle-CssClass="header-center" />
                                    <asp:TemplateField HeaderText="Actions" Visible="true" HeaderStyle-CssClass="header-center">
                                        <ItemTemplate>
                                            <button type="button" class="btn btn-default btn-block btn-xs dropdown-toggle" data-toggle="dropdown">
                                                Action
                                            </button>
                                            <div class="dropdown-menu">
                                                <a class="dropdown-item" href="#">
                                                    <asp:Button ID="Button5" CssClass="btn btn-outline-success btn-block btn-sm" runat="server" Text="Approve" CommandName="a" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                                <a class="dropdown-item" href="#">
                                                    <asp:Button ID="Button6" CssClass="btn btn-outline-danger btn-block btn-sm" runat="server" Text="Reject" CommandName="d" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                                <a class="dropdown-item" href="#">
                                                    <asp:Button ID="delete" CssClass="btn btn-outline-danger btn-block btn-sm" runat="server" Text="Ignore" CommandName="i" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                            </div>
                                        </ItemTemplate>
                                    </asp:TemplateField>
                                </Columns>
                            </asp:GridView>
                        </div>
                        <div id="GLSR_Pagination" class="row" style="margin-left: 1%; margin-top: 1%; margin-bottom: 1%" runat="server">
                            Go To Page&nbsp;: &nbsp;<asp:DropDownList ID="ddlPages" runat="server" class="form-control select2" AutoPostBack="True" Width="7%" Height="6%" OnSelectedIndexChanged="ddlPages_SelectedIndexChanged"></asp:DropDownList>
                        </div>
                    </div>
                    <!-- /.card-body -->
                </div>


                <!-- /.card -->
                <div class="row">
                    <div class="modal fade" id="modal-xl">

                        <div class="modal-dialog modal-xl" style="max-width: max-content;">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <h4 class="modal-title">Replenishment Details</h4>
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                        <span aria-hidden="true">&times;</span>
                                    </button>
                                </div>
                                <div class="modal-body">
                                    <div class="card-body">
                                        <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                                            <tr>
                                                <td align="center">
                                                    <asp:Panel ID="pnlControls" runat="server" Width="100%" Style="text-align: left">
                                                        <fieldset id="addItem">
                                                            <legend id="addItem">Manual GL Entry</legend>
                                                        </fieldset>
                                                        <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <label>ATM Number</label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <div class="form-group">
                                                                        <asp:TextBox ID="txtTerminalID" runat="server" class="form-control" MaxLength="8"></asp:TextBox>
                                                                    </div>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <asp:Label ID="lbl_Retract" runat="server" Text="Retract" Font-Bold="true"></asp:Label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <div class="form-group">
                                                                        <asp:TextBox ID="txtGlRetract" runat="server" class="form-control" Enabled="false" ReadOnly="true" MaxLength="14"></asp:TextBox>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <label>Replenishment Date</label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <div class="form-group">
                                                                        <div class="input-group date" id="areplenishmentdate" data-target-input="nearest">
                                                                            <asp:TextBox ID="txtReplDate" data-target="#areplenishmentdate" runat="server" MaxLength="16" class="form-control datetimepicker-input"></asp:TextBox>
                                                                            <div class="input-group-append" data-target="#areplenishmentdate" data-toggle="datetimepicker">
                                                                                <div class="input-group-text"><i class="fa fa-calendar"></i></div>
                                                                            </div>
                                                                            <asp:TextBox ID="pickrepldate" runat="server" Visible="false" class="form-control"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <label>Replenishment Time</label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <div class="form-group">
                                                                        <asp:TextBox ID="txtReplTime" runat="server" class="form-control" MaxLength="8"></asp:TextBox>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <label>ATM Type</label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="ddlReplType" runat="server" class="form-control select">
                                                                            <asp:ListItem Value="009">Dispense</asp:ListItem>
                                                                            <asp:ListItem Value="030">Deposit</asp:ListItem>
                                                                            <asp:ListItem Value="039">Recycle</asp:ListItem>
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <label>Replenishment Currency</label>
                                                                </td>
                                                                <td class="tdNormal" style="width: 30%">
                                                                    <div class="form-group">
                                                                        <asp:DropDownList ID="ddlCurrency" runat="server" class="form-control select" DataTextField="currency"
                                                                            DataValueField="iso_code">
                                                                        </asp:DropDownList>
                                                                        <asp:TextBox ID="txtReplCurrency" runat="server" class="form-control select" MaxLength="16"
                                                                            Visible="False"></asp:TextBox>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td class="tdNormal" style="width: 15%">
                                                                    <label>GL Account No</label>
                                                                </td>
                                                                <td class="tdNormal">
                                                                    <div class="form-group">
                                                                        <asp:TextBox ID="txtGLAccountNo" runat="server" class="form-control" MaxLength="16"></asp:TextBox>
                                                                    </div>
                                                                </td>
                                                                <td class="tdNormal" style="width: 10%"></td>
                                                                <td class="tdNormal" style="width: 15%"></td>
                                                                <td class="tdNormal" style="width: 30%"></td>
                                                            </tr>
                                                            <tr>
                                                                <td colspan="5">
                                                                    <fieldset id="addItem">
                                                                        <legend id="addItem">GL</legend>
                                                                    </fieldset>
                                                                    <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                                        <tr>
                                                                            <td class="tdNormal" style="width: 15%">
                                                                                <label>Opening Balance</label>
                                                                            </td>
                                                                            <td class="tdNormal" style="width: 30%">
                                                                                <div class="form-group">
                                                                                    <asp:TextBox ID="txtOpeningBalance" runat="server" class="form-control" MaxLength="20"></asp:TextBox>
                                                                                </div>
                                                                            </td>
                                                                            <td class="tdNormal" style="width: 10%"></td>
                                                                            <td class="tdNormal" style="width: 15%">
                                                                                <label>Closing Balance</label>
                                                                            </td>
                                                                            <td class="tdNormal" style="width: 30%">
                                                                                <div class="form-group">
                                                                                    <asp:TextBox ID="txtClosingBalance" runat="server" class="form-control" MaxLength="20"></asp:TextBox>
                                                                                </div>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                        <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                                            <tr>
                                                                <td colspan="5" style="text-align: center">
                                                                    <asp:Button ID="btnCancel" runat="server" Text="Cancel" class="btn btn-primary btn-1"
                                                                        CausesValidation="False" OnClick="btnCancel_Click" />
                                                                    <asp:Button ID="btnApprove" runat="server" Text="Approve" class="btn btn-primary btn-1"
                                                                        OnClick="btnApprove_Click" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                    <!------------------------------------body End2 ----------------------------------------------->
                                                </td>
                                            </tr>
                                        </table>


                                    </div>
                                    <!-- /.card-body -->

                                </div>
                                <div class="modal-footer justify-content-between">
                                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                                    <%--<asp:Button ID="btnSave" runat="server" Text="Save changes" OnClick="btnSave_Click" class="btn btn-primary" />--%>
                                </div>
                            </div>
                            <!-- /.modal-content -->
                        </div>
                        <!-- /.modal-dialog -->

                    </div>

                    <!-- /.modal -->
                </div>

                <!-- UR-Confirmation-modal -->
                <div class="row">
                    <div id="UR-confirmation-modal-xl" class="modal fade modal-full" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
                        <button aria-label="" type="button" class="close px-2" data-dismiss="modal" aria-hidden="true">
                            <span aria-hidden="true">×</span>
                        </button>
                        <div class="modal-dialog modal-dialog-centered" role="document">
                            <div class="modal-content">
                                <div class="modal-body text-center">
                                    <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                        <tr>
                                            <td colspan="2" class="tdNormal" align="center">
                                                <asp:Label ID="Lbl_CommandName" Visible="false" runat="server"></asp:Label>
                                                <asp:Label ID="Lbl_CommandArgument" Visible="false" runat="server"></asp:Label>
                                                <asp:Label ID="Lbl_URC_Message" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" class="tdNormal">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" class="tdNormal" align="center">
                                                <asp:Button ID="btn_URConfirm_OK" runat="server" Text="Yes" CssClass="btn btn-primary" OnClick="btn_URConfirm_OK_Click" />
                                                <button type="button" class="btn btn-primary" data-dismiss="modal">No</button>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        <!-- /.content -->
    </div>
	<!-- Toastr -->
	<!-- jQuery -->
	<script src="../plugins/jquery/jquery.min.js"></script>
	<!-- Bootstrap 4 -->
	<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
	<!-- SweetAlert2 -->
	<script src="../plugins/sweetalert2/sweetalert2.min.js"></script>
	<!-- Toastr -->
	<script src="../plugins/toastr/toastr.min.js"></script>
	<!-- AdminLTE App -->
	<script src=".../dist/js/adminlte.min.js"></script>
	<!-- AdminLTE for demo purposes -->
	<script src="../plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
	<script src="../plugins/datatables/jquery.dataTables.min.js"></script>
	<script src="../plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
	<script src="../plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
	<script src="../plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
	<script src="../plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
	<script src="../plugins/jszip/jszip.min.js"></script>
	<script src="../plugins/pdfmake/pdfmake.min.js"></script>
	<script src="../plugins/pdfmake/vfs_fonts.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.html5.min.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.print.min.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
    <script src="../plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
	<!-- AdminLTE App -->
	<script src="../dist/js/adminlte.min.js"></script>
	<!-- AdminLTE for demo purposes -->
	<script src="../dist/js/demo.js"></script>
    <script src="../plugins/select2/js/select2.full.min.js"></script>
    <!-- Bootstrap4 Duallistbox -->
    <script src="../plugins/bootstrap4-duallistbox/jquery.bootstrap-duallistbox.min.js"></script>
    <!-- InputMask -->
    <script src="../plugins/moment/moment.min.js"></script>
    <script src="../plugins/inputmask/jquery.inputmask.min.js"></script>
    <!-- date-range-picker -->
    <script src="../plugins/daterangepicker/daterangepicker.js"></script>
    <!-- bootstrap color picker -->
    <script src="../plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js"></script>
    <!-- Tempusdominus Bootstrap 4 -->
    <script src="../plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
    <!-- Bootstrap Switch -->
    <script src="../plugins/bootstrap-switch/js/bootstrap-switch.min.js"></script>
    <!-- BS-Stepper -->
    <script src="../plugins/bs-stepper/js/bs-stepper.min.js"></script>
    <!-- dropzonejs -->
    <script src="../plugins/dropzone/min/dropzone.min.js"></script>
    <!-- AdminLTE App -->
	<script>

	    $(function () {

	        $('#ContentPlaceHolder1_GridView1').DataTable({
	            "responsive": true, "lengthChange": false, "autoWidth": false,
	            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');

	        //Date picker
	        $('#reservationdate').daterangepicker();
//	        $('#ctl00_ContentPlaceHolder1_reservation').daterangepicker()({
//	            format: 'DD/MM/YYYY - DD/MM/YYYY'
//	        });
	        $('#ctl00_ContentPlaceHolder1_txtDate').daterangepicker({
	            locale: {
                    format: 'DD-MM-YYYY'
	            }
            })

            $('#prev_replenishmentdate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#replenishmentdate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
                //format: 'YYMMDD'
            });

            $('#aprevrepldate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#arepldate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#adateB24PrevDate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#adateB24Date').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#dtReplDate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#sreplenishmentdate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });

            $('#areplenishmentdate').datetimepicker({
                //format: 'L'
                format: 'DD-MM-YYYY'
            });
	        
	        //		    $('#reservationdate').datetimepicker({
	        //		        format: 'DD/MM/YYYY'
	        //		    });

	        //        $('#ContentPlaceHolder1_GridView1').DataTable({
	        //            "responsive": true, "lengthChange": false, "autoWidth": false,
	        //            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        //        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');

	        //        $('#ContentPlaceHolder1_gvChannel').DataTable({
	        //            "responsive": true, "lengthChange": false, "autoWidth": false,
	        //            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        //        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');

	        //        $('#ContentPlaceHolder1_gvEJ').DataTable({
	        //            "responsive": true, "lengthChange": false, "autoWidth": false,
	        //            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        //        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
	    });
    </script>
</asp:Content>