<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Masters/AgentMaster.Master"
    CodeBehind="FeeStructure.aspx.cs" Inherits="CasheeremitAgent.Remittance.FeeStructure" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
    <script type="text/javascript" src="../Scripts/js/bootstrap-datepicker.js"></script>
    <link href="../Styles/css/datepicker.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/css/datepicker3.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        window.document.title = "Fee List";
    </script>
    <style type="text/css">
        .wp25
        {
            width: 20%;
            word-break: break-all;
            text-align: center;
        }
        .wp26
        {
            width: 35%;
            text-align: center;
            word-break: break-all;
        }
        .tbl-data
        {
            text-align:center;
        }
    </style>
    <script type="text/javascript" language="javascript">

        function DisplayProgress() {

            $find('<%=ModalPopupExtender2.ClientID %>').show();
            setTimeout('document.images["imgLoad"].src = "../Styles/images/loading.gif"', 10);
        }

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpLyremit" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div class=" col-md-12">
        <div class="clearfix">
            &nbsp;</div>
        <div class="bluHD col-md-12">
            MY FEE</div>
        <div class="col-md-12 vinobox">
            <%--<div class="blueHeadTxt">
                FEE LIST
            </div>--%>
            <div class="col-md-12 ">
                <div class="row mrgBot10">
                    <div class="clearfix">
                        &nbsp;</div>
                    <div class="col-md-3">
                        <asp:Label ID="lblCountry" runat="server" Text="Choose Destination  Status"></asp:Label>
                    </div>
                    <div class=" col-md-5">
                        <asp:DropDownList ID="ddlCountry" AutoPostBack="true" runat="server" onchange="DisplayProgress();"
                            CssClass="txtboxM">
                        </asp:DropDownList>
                    </div>
                </div>
            </div>
            <div class="clearfix">
                &nbsp;</div>
            <div class="col-md-12 ">
            <div class="col-md-3">&nbsp</div>
                <div class="col-md-5">
                    <asp:Button ID="btnSearch" runat="server" Text="Search" class="btnB" OnClick="btnSearch_click"
                        ValidationGroup="search" OnClientClick="DisplayProgress()" />
                </div>
            </div>
            <div class="clearfix margT10">
                &nbsp;</div>
            <div style="padding: 10px;" class="table-responsive overflowMob">
                <asp:GridView ID="gvFee" runat="server" class="tbl-typ2" AutoGenerateColumns="false"
                    DataKeyNames="To_Country,Comm_Type,Comm_Type_ID" OnPageIndexChanging="gvFee_PageIndexChanging"
                    OnRowDataBound="gvFee_RowDataBound" AllowPaging="True" EmptyDataText="No Transactions Found"
                    CellPadding="6" CellSpacing="2" GridLines="None" HeaderStyle-CssClass="tbl-head"
                    RowStyle-CssClass="tbl-data">
                    <RowStyle HorizontalAlign="Left" />
                    <Columns>
                        <asp:BoundField DataField="To_Country" HeaderText="ToCountry" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Comm_Type" HeaderText="CommissionType" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Amount" HeaderText="Amount" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Slab_Range_From" HeaderText="From Amount" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Slab_Range_To" HeaderText="To Amount" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Percentage" HeaderText="Amount" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Percentage_Range_From" HeaderText="From Amount" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Percentage_Range_To" HeaderText="To Amount" HeaderStyle-CssClass="wp26" />
                        <asp:BoundField DataField="Fixed_Rate" HeaderText="Amount" HeaderStyle-CssClass="wp26" />
                    </Columns>
                    <RowStyle BackColor="#EFF3FB" />
                    <AlternatingRowStyle BackColor="White" />
                     <PagerStyle BackColor="White" ForeColor="White" Width="200px" HorizontalAlign="Center"
                        CssClass="pgg" />
                </asp:GridView>
            </div>
        </div>
        <div class="clearfix">
        </div>
        <div id="dvProgressbar">
            <asp:Button runat="server" ID="Button1" Style="display: none" />
            <asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Style="display: none">
                <div class="modal1">
                    <div class="center1">
                        <!-- Start -->
                        <img id="imgLoad" alt="Please wait....." src="../Styles/images/loading.gif" />
                        <!-- End -->
                        <asp:ModalPopupExtender ID="ModalPopupExtender2" runat="server" TargetControlID="Button1"
                            PopupControlID="Panel1" BackgroundCssClass="modalBackground" DropShadow="false" />
                    </div>
                </div>
            </asp:Panel>
        </div>
    </div>
</asp:Content>
