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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cpHead" runat="server">
    <style type="text/css">
        .WordWrap {
            word-break: break-all;
        }

        th {
            text-align: center;
        }

        td {
            text-align: left;
        }
    </style>
    <script type="text/javascript">
        function doCustomValidate(source, args) {

            args.IsValid = false;

            if (document.getElementById('<% =txtremID.ClientID %>').value.length > 0) {
                args.IsValid = true;
            }
            if (document.getElementById('<% =txtmobileno.ClientID %>').value.length > 0) {
                args.IsValid = true;
            }
            if (document.getElementById('<% =txtmailid.ClientID %>').value.length > 0) {
                args.IsValid = true;
            }
        }

        function swalalert(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: true
            });
        }

        function swaRedirect(val, typ) {
            swal({
                title: "",
                text: val,
                type: typ,
                showConfirmButton: true,
                confirmButtonColor: "#DD6B55",
                confirmButtonText: "OK",
                closeOnConfirm: false
            }, function (isConfirm) {
                if (isConfirm) {
                    window.location.href = '<%=redurl %>';
                }
                else {
                }
            });
        }
        window.document.title = "View Remitter Profile";


        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="smgr" runat="server">
    </asp:ScriptManager>
    <div id="Div1" runat="server" class="col-md-12">
        <script type="text/javascript">
           
        </script>
        <div class="clearfix">
            &nbsp;
        </div>
        <div class="bluHD col-md-12">
            Remitter Profile
        </div>
        <div class="col-md-12 vinobox ">
            <div class="clearfix">
                &nbsp;
            </div>
            <div id="dvendet" visible="false" runat="server" class="col-md-6">
                <div class="row mrgBot10">
                    <div class=" col-md-3">
                        <asp:Label ID="lblremid" runat="server" Text="Remitter ID"></asp:Label>
                    </div>
                    <div class=" col-md-7">
                        <asp:TextBox ID="txtremID" class="Txtbox_demo2" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="regremID" runat="server" ValidationGroup="View"
                            ControlToValidate="txtremid" Display="Dynamic" class="errMsg" ErrorMessage="Please enter a valid RemitterID"
                            ValidationExpression="^([a-zA-Z0-9]{5,50})$"></asp:RegularExpressionValidator>
                    </div>
                </div>
                <div class="row mrgBot10">
                    <div class=" col-md-3">
                        <asp:Label ID="lblmobileno" runat="server" Text="Mobile No."></asp:Label>
                    </div>
                    <div class=" col-md-7">
                        <asp:TextBox ID="txtmobileno" class="Txtbox_demo2" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="regMobile" CssClass="errMsg" runat="server" ControlToValidate="txtmobileno"
                            ValidationGroup="View" ErrorMessage="Please enter valid MobileNo" Display="Dynamic"
                            Font-Size="X-Small" ValidationExpression="^([0-9]{1,12})$"></asp:RegularExpressionValidator>
                    </div>
                </div>
                <div class="row mrgBot10">
                    <div class=" col-md-3">
                        <asp:Label ID="lblmailid" runat="server" Text="Email ID"></asp:Label>
                    </div>
                    <div class=" col-md-7">
                        <asp:TextBox ID="txtmailid" class="Txtbox_demo2" runat="server"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="regEmailID" runat="server" ControlToValidate="txtmailid"
                            CssClass="errMsg" ValidationGroup="View" ErrorMessage="Enter valid Email Address"
                            Font-Size="X-Small" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">
                        </asp:RegularExpressionValidator>
                    </div>
                </div>
            </div>
            <div class="clrfx">
                &nbsp;
            </div>
            <div class="col-md-12" id="dvbtn" runat="server">
                <div class="col-md-2">
                    <asp:Button ID="btnView" runat="server" Text="Search" class="btnB" OnClick="btnView_click" OnClientClick="DisplayProgress();"
                        ValidationGroup="View" />
                </div>
                <div class="col-md-3">
                    <asp:Button ID="btnclear" runat="server" Text="Clear" class="btnG" OnClick="btnClear_click" />
                </div>
            </div>
            <div class="clrfx">
                &nbsp;
            </div>
            <div id="dvStep1" visible="false" runat="server" class="col-md-12">
                <div class="col-md-6">
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblremitterid" runat="server" Text="Remitter ID"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtremitterID" Enabled="false" class="Txtbox_demo2" ReadOnly="true"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblFirstName" runat="server" Text="First Name"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtFirstName" Enabled="false" class="Txtbox_demo2" ReadOnly="true"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblLastName" runat="server" Text="Last Name"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtLastName" Enabled="false" class="Txtbox_demo2" ReadOnly="true"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lbldob" runat="server" Text="DOB"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtdob" Enabled="false" class="Txtbox_demo2" ReadOnly="true" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblEmail" runat="server" Text="Email"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtEmailId" ReadOnly="true" Enabled="false" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblMobile" runat="server" Text="Mobile"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtMobile" Enabled="false" ReadOnly="true" AutoPostBack="true" class="Txtbox_demo2"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblPostCode" runat="server" Text="Zip/Post code "></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtZipPostCode" Enabled="false" class="Txtbox_demo2" ReadOnly="true"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblAddres1" runat="server" Text="Street"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtStreet" Enabled="false" ReadOnly="true" class="Txtbox_demo2"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblCity" runat="server" Text="City"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtCity" Enabled="false" class="Txtbox_demo2" ReadOnly="true" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblState" runat="server" Text="County"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtState" Enabled="false" class="Txtbox_demo2" ReadOnly="true" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblCountry" runat="server" Text="Country"></asp:Label>
                        </div>
                        <div class=" col-md-7">
                            <asp:TextBox ID="txtCountry" Enabled="false" class="Txtbox_demo2" ReadOnly="true"
                                runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblOccupation" runat="server" Text="Occupation"></asp:Label>
                        </div>
                          <div class=" col-md-7">
                                    <asp:DropDownList ID="ddlOccupation" CssClass="selectBox" runat="server">
                                        <asp:ListItem Selected="True" Text="Select Occupation" Value="0"></asp:ListItem>
                                         <asp:ListItem Text="Accountant" Value="OCP17"></asp:ListItem>
 <asp:ListItem Text="Actuary" Value="OCP18"></asp:ListItem>
 <asp:ListItem Text="Administrator" Value="OCP14"></asp:ListItem>
 <asp:ListItem Text="Analyst" Value="OCP47"></asp:ListItem>
 <asp:ListItem Text="Artist" Value="OCP19"></asp:ListItem>
 <asp:ListItem Text="Arts officer,Producer and Biochemist" Value="OCP20"></asp:ListItem>
 <asp:ListItem Text="Biological Scientist and Biochemist" Value="OCP21"></asp:ListItem>
 <asp:ListItem Text="Buyer and Purchasing Officer" Value="OCP22"></asp:ListItem>
 <asp:ListItem Text="Cashier" Value="OCP2"></asp:ListItem>
 <asp:ListItem Text="Chef" Value="OCP15"></asp:ListItem>
 <asp:ListItem Text="Consultants" Value="OCP11"></asp:ListItem>
 <asp:ListItem Text="Customer Service Representative" Value="OCP5"></asp:ListItem>
 <asp:ListItem Text="Dancer and Choreographer" Value="OCP24"></asp:ListItem>
 <asp:ListItem Text="Developers" Value="OCP10"></asp:ListItem>
 <asp:ListItem Text="Director and Chief Executive Officer" Value="OCP25"></asp:ListItem>
 <asp:ListItem Text="Driver" Value="OCP44"></asp:ListItem>
 <asp:ListItem Text="Economist" Value="OCP26"></asp:ListItem>
 <asp:ListItem Text="Engineer" Value="OCP8"></asp:ListItem>
 <asp:ListItem Text="Environmental Professional" Value="OCP27"></asp:ListItem>
 <asp:ListItem Text="Geologist" Value="OCP28"></asp:ListItem>
 <asp:ListItem Text="Graphic Designer" Value="OCP29"></asp:ListItem>
 <asp:ListItem Text="IT and Communication Professional" Value="OCP30"></asp:ListItem>
 <asp:ListItem Text="Laborers and Freight, Stock, and Material Movers" Value="OCP7"></asp:ListItem>
 <asp:ListItem Text="Line Repairer and Cable Jointer" Value="OCP31"></asp:ListItem>
 <asp:ListItem Text="Manager" Value="OCP39"></asp:ListItem>
 <asp:ListItem Text="Mathematician" Value="OCP32"></asp:ListItem>
 <asp:ListItem Text="Medical and Dental Technician" Value="OCP33"></asp:ListItem>
 <asp:ListItem Text="Medical Practitioner" Value="OCP34"></asp:ListItem>
 <asp:ListItem Text="Medical Radiographer" Value="OCP35"></asp:ListItem>
 <asp:ListItem Text="Meteorologist" Value="OCP36"></asp:ListItem>
 <asp:ListItem Text="Musician" Value="OCP37"></asp:ListItem>
 <asp:ListItem Text="Nurse" Value="OCP9"></asp:ListItem>
 <asp:ListItem Text="Officer" Value="OCP45"></asp:ListItem>
 <asp:ListItem Text="Office Clerk" Value="OCP4"></asp:ListItem>
 <asp:ListItem Text="Operator" Value="OCP46"></asp:ListItem>
 <asp:ListItem Text="Physicist" Value="OCP38"></asp:ListItem>
 <asp:ListItem Text="Recruitment Consultant" Value="OCP12"></asp:ListItem>
 <asp:ListItem Text="Retail Salesperson" Value="OCP1"></asp:ListItem>
 <asp:ListItem Text="Scientist" Value="OCP40"></asp:ListItem>
 <asp:ListItem Text="Serving workers/Labour" Value="OCP3"></asp:ListItem>
 <asp:ListItem Text="Social Worker" Value="OCP41"></asp:ListItem>
 <asp:ListItem Text="Software Professional" Value="OCP42"></asp:ListItem>
 <asp:ListItem Text="Statistician" Value="OCP43"></asp:ListItem>
 <asp:ListItem Text="Teachers" Value="OCP13"></asp:ListItem>
 <asp:ListItem Text="Technician" Value="OCP48"></asp:ListItem>
 <asp:ListItem Text="Waiter or Waitress" Value="OCP6"></asp:ListItem>  
<%-- %> <asp:ListItem Text="Others" Value="OCP16"></asp:ListItem>  --%> 
                      </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="reqOccupation" runat="server" ErrorMessage="Please Select Occupation"
                                        ControlToValidate="ddlOccupation" InitialValue="0" class="errMsg" ValidationGroup="Upd"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                    
                                </div>
                    </div>
                    <div class="row mrgBot10">
                        <div class=" col-md-3">
                            <asp:Label ID="lblindustry" runat="server" Text="Industry"></asp:Label>
                        </div>
                             <div class=" col-md-7">
                       <asp:DropDownList ID="ddlindustry" CssClass="selectBox" runat="server">
                                        <asp:ListItem Selected="True" Text="Select Industry" Value="0"></asp:ListItem>
                                                          <asp:ListItem Text="Aerospace" Value="IDT12"></asp:ListItem>
<asp:ListItem Text="Arms Manufacturing/Supply/Defence Industry" Value="IDT1"></asp:ListItem>
<asp:ListItem Text="Arts and Entertainment" Value="IDT13"></asp:ListItem>
<asp:ListItem Text="Automotive Design and Manufacturing" Value="IDT14"></asp:ListItem>
<asp:ListItem Text="Design" Value="IDT26"></asp:ListItem>
<asp:ListItem Text="Educational" Value="IDT16"></asp:ListItem>
<asp:ListItem Text="Electricity Transmission and Distribution " Value="IDT15"></asp:ListItem>
<asp:ListItem Text="Finance & Banking" Value="IDT23"></asp:ListItem>
<asp:ListItem Text="Food & Restaurant" Value="IDT29"></asp:ListItem>
<asp:ListItem Text="Gambling" Value="IDT7"></asp:ListItem>
<asp:ListItem Text="Gaming" Value="IDT6"></asp:ListItem>
<asp:ListItem Text="Government" Value="IDT3"></asp:ListItem>
<asp:ListItem Text="Healthcare Professional" Value="IDT18"></asp:ListItem>
<asp:ListItem Text="Hospitality & Accomodation" Value="IDT32"></asp:ListItem>
<asp:ListItem Text="Information Technology & Communication" Value="IDT19"></asp:ListItem>
<asp:ListItem Text="Insurance" Value="IDT20"></asp:ListItem>
<asp:ListItem Text="Manufacturing" Value="IDT25"></asp:ListItem>
<asp:ListItem Text="Marketing" Value="IDT27"></asp:ListItem>
<asp:ListItem Text="Media,Film, Television or Video Games" Value="IDT17"></asp:ListItem>
<asp:ListItem Text="Mining and Energy" Value="IDT21"></asp:ListItem> 
<asp:ListItem Text="Mining(Including diamond mining and trading)" Value="IDT10"></asp:ListItem> 
<asp:ListItem Text="Nuclear Industry" Value="IDT9"></asp:ListItem>  
<asp:ListItem Text="Oil and Gas" Value="IDT5"></asp:ListItem> 
<asp:ListItem Text="Pharmaceuticals" Value="IDT2"></asp:ListItem> 
<asp:ListItem Text="Public Work Contracts and Construction" Value="IDT8"></asp:ListItem> 
<asp:ListItem Text="Railway" Value="IDT22"></asp:ListItem> 
<asp:ListItem Text="Real estate and property development" Value="IDT4"></asp:ListItem>
<asp:ListItem Text="Research" Value="IDT28"></asp:ListItem> 
<asp:ListItem Text="Retail" Value="IDT30"></asp:ListItem>
<asp:ListItem Text="Telecommunication" Value="IDT31"></asp:ListItem>
<asp:ListItem Text="Transport" Value="IDT24"></asp:ListItem> 




                                  <%--      <asp:ListItem Text="Any Other Industry Not Listed" Value="IDT11"></asp:ListItem> --%>
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator ID="reqIndustry" runat="server" ErrorMessage="Please Select Industry"
                                        ControlToValidate="ddlindustry" InitialValue="0" class="errMsg" ValidationGroup="Upd"
                                        Display="Dynamic"></asp:RequiredFieldValidator>
                                 
                                </div>
                    </div>
                </div>
                <div class="clrfx">
                    &nbsp;
                </div>
                <div class="col-md-12">
                    <div class="col-md-2">
                        <asp:Button ID="btnBack" runat="server" Text="Back" class="btnG" OnClick="btnBack_click" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="btnSend" runat="server" Text="Send Money" class="btnB" OnClick="btnSendMoney_Click" OnClientClick="DisplayProgress();" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="btnPreferCountry" runat="server" Text="Add Prefer Country" class="btnG" OnClick="btnPreferCountry_click" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="btnupdate" runat="server" Text="Update" class="btnG" ValidationGroup="Upd" OnClick="btnupdate_click" />
                    </div>
                </div>
            </div>
            <div visible="false" id="dvremitter" runat="server" class="table-responsive overflowMob col-md-12">
                <asp:GridView ID="gvremitter" Style="width: 102%;" runat="server" class="tbl-typ2"
                    AutoGenerateColumns="False" DataKeyNames="Remitter_ID,Rem_FirstName,Rem_LastName,Rem_Email,Rem_Mobile,Rem_DOB,Rem_AddressLine1,Rem_City,Rem_State,CountryName,Rem_PostCode,Acc_Status"
                    OnRowCommand="gvremitter_RowCommand" OnPageIndexChanging="gvremitter_PageIndexChanging"
                    OnRowDataBound="gvremitter_RowDataBound" AllowPaging="True" EmptyDataText="No Remitters Found"
                    CellPadding="6" CellSpacing="2" GridLines="None" HeaderStyle-CssClass="tbl-head"
                    RowStyle-CssClass="tbl-data">
                    <RowStyle HorizontalAlign="Left" />
                    <Columns>
                        <asp:BoundField DataField="Agent_ID" HeaderText="AgentID" HeaderStyle-CssClass="wp25"/>
                        <asp:BoundField DataField="Remitter_ID" HeaderText="Remitter ID" />
                        <asp:BoundField DataField="Rem_FirstName" HeaderText="First Name" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Rem_LastName" HeaderText="Last Name" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Rem_Email" HeaderText="Email ID" ItemStyle-Wrap="true"
                            ItemStyle-CssClass="WordWrap" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Rem_Mobile" HeaderText="Mobile" HeaderStyle-CssClass="wp25" />
                        <asp:BoundField DataField="Groups" HeaderText="Category" />
                        <asp:BoundField DataField="Tran_Count" HeaderText="Total Transaction Count" />
                        <asp:BoundField DataField="Total_Tran_Amt" HeaderText="Total Transaction Value" />
                        <asp:TemplateField HeaderText ="Action" ShowHeader="false">
                            <ItemTemplate>
                                <asp:LinkButton ID="btnview" runat="server" Text="View" CommandName="View" CausesValidation="false" OnClientClick="DisplayProgress();">
                                </asp:LinkButton>
                                <asp:LinkButton ID="btnDocs" runat="server" Text=" | View Docs" CommandName="ViewDocs" CausesValidation="false" OnClientClick="DisplayProgress();">
                                </asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <PagerStyle BackColor="White" ForeColor="White" Width="200px" HorizontalAlign="Center"
                        CssClass="pgg" />
                </asp:GridView>
            </div>
            <div visible="false" id="dvDocs" runat="server" class="table-responsive overflowMob col-md-12">
                <asp:GridView ID="gvDocs" runat="server" Style="width: 80%;" AutoGenerateColumns="False" AllowPaging="True"
                    CssClass="tbl-typ2" DataKeyNames="Remitter_ID,GBG_Scan_Ref,KYC_Status,Doc_VerifyBy,Doc_Type_Name,Doc_Name"
                    OnPageIndexChanging="gvDocs_PageIndexChanging" OnRowCommand="gvDocs_RowCommand" OnRowDataBound="gvDocs_RowDataBound"
                    EmptyDataText="No Records Found" CellPadding="6" CellSpacing="2" GridLines="None" HeaderStyle-CssClass="tbl-head"
                    RowStyle-CssClass="tbl-data">
                    <RowStyle HorizontalAlign="Left" />
                    <Columns>
                        <asp:BoundField DataField="Remitter_ID" HeaderText="Remitter ID" />
                        <asp:BoundField DataField="Doc_Type_Name" HeaderText="Document Type" />
                        <asp:BoundField DataField="Doc_VerifyBy" HeaderText="Verification From" />
                        <asp:BoundField DataField="Audit_Inserted_Date" HeaderText="Uploaded Date" />
                        <asp:BoundField DataField="Approved_Date" HeaderText="Approved Date" />
                        <asp:BoundField DataField="Doc_Status" HeaderText="Document Status" />
                        <asp:TemplateField HeaderText="Attachment" ItemStyle-Width="10px">
                        <ItemTemplate>
                            <%--<asp:LinkButton ID="lnlimageurl" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>--%>
                            <asp:LinkButton ID="lnlimageurl1" Visible="false" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>
                            <asp:LinkButton ID="lnlimageurl2" Visible="false" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>
                            <asp:LinkButton ID="lnlimageurl3" Visible="false" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>
                            <asp:LinkButton ID="lnlimageurl4" Visible="false" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>
                            <asp:LinkButton ID="lnlimageurl5" Visible="false" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>
                            <asp:LinkButton ID="lnlimageurl6" Visible="false" runat="server" CausesValidation="false" CommandName="viewdoc"></asp:LinkButton>
                        </ItemTemplate>
                        <ItemStyle CssClass="appalign appaligncenter" />
                    </asp:TemplateField>
                        <asp:BoundField HeaderText="DocPath" DataField="Doc_Name" ItemStyle-CssClass="hide"
                        HeaderStyle-CssClass="hide" />
                    <asp:BoundField HeaderText="DocName" DataField="Doc_Name" ItemStyle-CssClass="hide"
                        HeaderStyle-CssClass="hide" />
                    </Columns>
                    <PagerStyle BackColor="White" ForeColor="White" Width="200px" HorizontalAlign="Center"
                        CssClass="pgg" />
                </asp:GridView>
                <div class="clrfx">
                    &nbsp;
                </div>
                <div class="col-md-12">
                    <div class="col-md-2">
                        <asp:Button ID="Button2" runat="server" Text="Back" class="btnG" OnClick="btnBack_click" />
                    </div>
                    <div class="col-md-2">
                        <asp:Button ID="Button3" runat="server" Text="Upload Document" class="btnB" OnClick="btnUplDoc_Click" OnClientClick="DisplayProgress();" />
                    </div>
                </div>
            </div>
        </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>
