Sir,
I am using file upload (inputfile) but i am facing a problem if i click any button after input file like view history button in my code, input file name is clear says "NO FILE CHOOSEN".
Please help me any button or other process my file input should not be clear.
Thanks
Arvind
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" MaintainScrollPositionOnPostback="true" CodeFile="GasApproval.aspx.cs" Inherits="GasApproval" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
<title>Gas Approval</title>
<link href="../Styles/DefineCss1.css" rel="stylesheet" />
<link href="../Styles/GridViewStyle.css" rel="stylesheet" />
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="../js/jquery-1.7.2.min.js"></script>
<link type="text/css" href="../css/ui-lightness/jquery-ui-1.8.19.custom.css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-ui-1.8.19.custom.min.js"></script>
<script src="../GridViewScrollBothSide/jquery-1.9.1.min.js"></script>
<script src="../GridViewScrollBothSide/JavaScript.js"></script>
<script src="../GridViewScrollBothSide/GridViewScrollBothSide.js"></script>
<%-- <link href="../Styles/GridViewStyle.css" rel="stylesheet" />
<script src="../Scripts/jquery-1.7.2.min.js"></script>--%>
<%--$('#GvPaymentStatus').gridviewScroll({ --%> <%--$('[id*=GvPaymentStatus]').gridviewScroll({--%>
<script type="text/javascript">
$(document).ready(function () {
$('.mydatagriddivisionlist').gridviewScroll({
width: 1090,
freezesize: 6, // Freeze Number of Columns.
height: 250,
headerrowcount: 1, //Freeze Number of Rows with Header.
arrowsize: 30,
varrowtopimg: "../GridViewScrollBothSide/ImageScroll/arrowvt.png",
varrowbottomimg: "../GridViewScrollBothSide/ImageScroll/arrowvb.png",
harrowleftimg: "../GridViewScrollBothSide/ImageScroll/arrowhl.png",
harrowrightimg: "../GridViewScrollBothSide/ImageScroll/arrowhr.png"
});
});
</script>
<script type="text/javascript">
$(document).ready(function () {
$('.mydatagridstafflist').gridviewScroll({
width: 1090,
freezesize: 2, // Freeze Number of Columns.
height: 250,
headerrowcount: 1, //Freeze Number of Rows with Header.
arrowsize: 30,
varrowtopimg: "../GridViewScrollBothSide/ImageScroll/arrowvt.png",
varrowbottomimg: "../GridViewScrollBothSide/ImageScroll/arrowvb.png",
harrowleftimg: "../GridViewScrollBothSide/ImageScroll/arrowhl.png",
harrowrightimg: "../GridViewScrollBothSide/ImageScroll/arrowhr.png"
});
});
</script>
<%--$("[id*=TxtStartDate]").datepicker({--%>
<script type="text/javascript">
$(function () {
debugger;
$("[id*=TxtStartDate]").datepicker({
showOn: 'button',
buttonImageOnly: true,
buttonImage: '../images/calendar.png',
dateFormat: 'mm/dd/yy',
changeMonth: true,
changeYear: true,
readOnly: true,
yearRange: "-1:+0"
//buttonImage: 'images/calendar.png',
//yearRange: "-1:+0" // last one years
//yearRange: "-1:10" // last one years and next Ten Year
//yearRange: new Date().getFullYear().toString() + ':' + new Date().getFullYear().toString() // Only Current Year
//yearRange:'2021:' + new Date().getFullYear().toString()
});
});
</script>
<script type="text/javascript">
$(function () {
debugger;
$("[id*=TxtEndDate]").datepicker({
showOn: 'button',
buttonImageOnly: true,
buttonImage: '../images/calendar.png',
dateFormat: 'mm/dd/yy',
changeMonth: true,
changeYear: true,
readOnly: true,
yearRange: "-1:+0"
//buttonImage: 'images/calendar.png',
//yearRange: "-1:+0" // last one years
//yearRange: "-1:10" // last one years and next Ten Year
//yearRange: new Date().getFullYear().toString() + ':' + new Date().getFullYear().toString() // Only Current Year
//yearRange:'2021:' + new Date().getFullYear().toString()
});
});
</script>
<script type="text/javascript">
$(function () {
debugger;
$("[id*=TxtVoucherDate]").datepicker({
showOn: 'button',
buttonImageOnly: true,
buttonImage: '../images/calendar.png',
dateFormat: 'mm/dd/yy',
changeMonth: true,
changeYear: true,
readOnly: true,
yearRange: "-1:+0"
//buttonImage: 'images/calendar.png',
//yearRange: "-1:+0" // last one years
//yearRange: "-1:10" // last one years and next Ten Year
//yearRange: new Date().getFullYear().toString() + ':' + new Date().getFullYear().toString() // Only Current Year
//yearRange:'2021:' + new Date().getFullYear().toString()
});
});
</script>
<script type="text/javascript">
$(function () {
debugger;
$("[id*=TxtInvoiceDate]").datepicker({
showOn: 'button',
buttonImageOnly: true,
buttonImage: '../images/calendar.png',
dateFormat: 'mm/dd/yy',
changeMonth: true,
changeYear: true,
readOnly: true,
yearRange: "-1:+0"
//buttonImage: 'images/calendar.png',
//yearRange: "-1:+0" // last one years
//yearRange: "-1:10" // last one years and next Ten Year
//yearRange: new Date().getFullYear().toString() + ':' + new Date().getFullYear().toString() // Only Current Year
//yearRange:'2021:' + new Date().getFullYear().toString()
});
});
</script>
<script type="text/javascript">
function ConfirmDisplayRecord(sender) {
//var selectedText = $(sender).find("option:selected").text();
if (confirm("Do you want to process ?")) {
$("#HfResponseDisplayRecord").val('Yes');
}
else {
$("#HfResponseDisplayRecord").val('No');
}
}
function ConfirmViewHistory(sender) {
if (confirm("Do you want to process ?")) {
$("#HfResponseViewHistory").val('Yes');
}
else {
$("#HfResponseViewHistory").val('No');
}
}
function ConfirmApprove(sender) {
if (confirm("Do you want to process ?")) {
$("#HfResponseApprove").val('Yes');
}
else {
$("#HfResponseApprove").val('No');
}
}
</script>
<%-- Start Preview Pdf Image Working --%>
<script type="text/javascript">
function PreviewImage() {
pdffile = document.getElementById("uploadPDF").files[0];
pdffile_url = URL.createObjectURL(pdffile);
$('#viewer').attr('src', pdffile_url);
}
</script>
<%-- End Preview Pdf Image Working --%>
<%-- Separate Loader Start --%>
<script type="text/javascript">
function showLoader1() {
document.getElementById("loader1").style.display = 'block';
}
function showLoader2() {
document.getElementById("loader2").style.display = 'block';
}
function showLoader3() {
document.getElementById("loader3").style.display = 'block';
}
function showLoader4() {
document.getElementById("loader4").style.display = 'block';
}
</script>
<%-- Loader End --%>
<%-- Start prevent Double Click On Single Button --%>
<script>
document.addEventListener("contextmenu", function (event) {
event.preventDefault();
alert('Right Click is Disabled');
}, false);
</script>
<%-- End Double Click On Single Button --%>
<%-- Start Script Disable back button in browser --%>
<script type="text/javascript">
function DisableBackButton() {
window.history.forward()
}
DisableBackButton();
window.onload = DisableBackButton;
window.onpageshow = function (evt) { if (evt.persisted) DisableBackButton() }
window.onunload = function () { void (0) }
</script>
<%-- End Script Disable back button in browser --%>
<style type="text/css">
table { border: 1px solid #ccc; border-collapse: collapse; }
table th { background-color: #ccc; color: #333; font-weight: bold; }
table th, table td { padding: 5px; border: 1px solid #ccc; }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<%-- End Voucher List history --%>
<div class="container mb-0 mt-0">
<div class="row g-0 " style="background-image: linear-gradient(to right, lightblue ,lightgreen);">
<table class="table mb-0">
<tr>
<td class="text-center p-0 fs-3 col-12">
<asp:Label ID="Label1" runat="server" Text="Gas Voucher Approval"></asp:Label>
</td>
</tr>
</table>
</div>
</div>
<%-- Start Display Voucher --%>
<div class="container mb-0 mt-0 " style="font-family: Arial;">
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label4" runat="server" Text="Start Date"></asp:Label>
<asp:Label ID="Label5" runat="server" Text="(MM/DD/YYYY)" BackColor="LightYellow" ForeColor="Red"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:TextBox ID="TxtStartDate" CssClass="textstaffinfo" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtStartDate"
SetFocusOnError="true" ValidationGroup="ProcessReport"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label6" runat="server" Text="End Date"></asp:Label>
<asp:Label ID="Label7" runat="server" Font-Names="Arial" Font-Size="12px" Text="(MM/DD/YYYY)" BackColor="LightYellow" ForeColor="Red"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:TextBox ID="TxtEndDate" CssClass="textstaffinfo" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtEndDate"
SetFocusOnError="true" ValidationGroup="ProcessReport"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label9" runat="server" Text="Company Selection"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:DropDownList ID="DdlCompanySelection" CssClass="h-100" runat="server" AppendDataBoundItems="true" AutoPostBack="true" Width="75%"
OnSelectedIndexChanged="Filter">
<asp:ListItem Text="All" Value="0" />
</asp:DropDownList>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label11" runat="server" Text="Requested By Selection"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:DropDownList ID="DdlRequestedBySelection" CssClass="h-100" Width="75%" runat="server" AppendDataBoundItems="true" AutoPostBack="true"
OnSelectedIndexChanged="Filter">
<asp:ListItem Text="All" Value="0" />
</asp:DropDownList>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label3" runat="server" Text="Entry By Selection"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:DropDownList ID="DdlEntryBySelection" CssClass="h-100" Width="75%" runat="server" AppendDataBoundItems="true" AutoPostBack="true"
OnSelectedIndexChanged="Filter">
<asp:ListItem Text="All" Value="0" />
</asp:DropDownList>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label2" runat="server" Text="Payee Selection"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:DropDownList ID="DdlPayeeSelection" CssClass="h-100" Width="75%" runat="server" AppendDataBoundItems="true" AutoPostBack="true"
OnSelectedIndexChanged="Filter">
<asp:ListItem Text="All" Value="0" />
</asp:DropDownList>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label8" runat="server" Text="Voucher Selection"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:DropDownList ID="DdlVoucherSelection" CssClass="h-100" Width="75%" runat="server" AppendDataBoundItems="true" AutoPostBack="true"
OnSelectedIndexChanged="Filter">
<asp:ListItem Text="All" Value="0" />
</asp:DropDownList>
</div>
</div>
<div class="row g-0 Bg-Entry-4-User ">
<div class=" col-3 p-1 ">
<asp:Label ID="Label10" runat="server" Text="Voucher Status"></asp:Label>
</div>
<div class=" col-9 p-1 ">
<asp:DropDownList ID="DdlVoucherStatus" CssClass="h-100" Width="75%" runat="server" AppendDataBoundItems="true" AutoPostBack="true"
OnSelectedIndexChanged="Filter">
<asp:ListItem Text="All" Value="0" />
<asp:ListItem Text="Approval-Pending" Value="N" />
<asp:ListItem Text="Prq-Declined" Value="D" />
<asp:ListItem Text="Prq-Rejected" Value="R" />
</asp:DropDownList>
</div>
</div>
</div>
<asp:Panel ID="PnlDisplay" runat="server">
<div class="container mb-0 mt-0 ">
<div class="row g-0 pt-0 " style="background-color: #e6d2fa;">
<div class="col-5 d-flex justify-content-start">
<div class="h-10 align-items-center justify-content-center">
<div style="background: lightgray">
<img id="loader1" style="display: none;" src="https://www.aspsnippets.com/demos/loader.gif" alt="" />
</div>
</div>
<asp:Button ID="BtnDisplayRecord" CssClass="btn btn-warning btn-outline-success "
ValidationGroup="DisplayRecord" OnClientClick="showLoader1();"
runat="server" Text="Display Record" OnClick="Filter" />
</div>
</div>
</div>
</asp:Panel>
<%-- Start Approve Status and Remark --%>
<div class="container mb-0 mt-0">
<div class="row g-0 pt-0 " style="">
<div class="col col-12 justify-content-center">
<asp:GridView ID="GvPendingList" Font-Size="10px" runat="server" Style="width: 100%; border-collapse: collapse;"
AutoGenerateColumns="false" CssClass="mydatagriddivisionlist"
EmptyDataText="No Record Found"
EmptyDataRowStyle-ForeColor="Red"
EmptyDataRowStyle-Font-Bold="true"
EmptyDataRowStyle-BorderStyle="None"
HorizontalAlign="Left"
AllowSorting="true"
OnSorting="OnSorting"
OnRowDataBound="GvPendingList_RowDataBound">
<RowStyle CssClass="rows"></RowStyle>
<Columns>
<asp:TemplateField HeaderText="Sr.No" ItemStyle-Width="30" ItemStyle-HorizontalAlign="Left">
<ItemTemplate>
<asp:Label ID="lblRowNumber" Text='<%# Container.DataItemIndex + 1 %>' runat="server" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="Select">
<ItemTemplate>
<asp:LinkButton ID="LnkSelectPrq" runat="server" Text="Select" OnClick="ViewVoucherDetail"
CommandArgument='<%# Eval("VoucherNo") %>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="VoucherNo" HeaderText="Voucher No" SortExpression="VoucherNo" ItemStyle-Wrap="False"></asp:BoundField>
<asp:BoundField DataField="VoucherDate" HeaderText="Voucher Date" SortExpression="VoucherDate" DataFormatString="{0:dd-MMM-yyyy}" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="Total" HeaderText="Voucher Amount" SortExpression="Total" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="RequestedBy" HeaderText="Requested By" SortExpression="RequestedBy" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="LocationName" HeaderText="Location" SortExpression="LocationName" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="PayeeName" HeaderText="Payee Name" SortExpression="PayeeName" ItemStyle-BackColor="#cccce8" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="VoucherStatus" HeaderText="Voucher Status" SortExpression="VoucherStatus" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="PaymentStatus" HeaderText="Payment Status" SortExpression="PaymentStatus" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="InvoiceNo" HeaderText="Invoice No." ItemStyle-Wrap="False"></asp:BoundField>
<asp:BoundField DataField="InvoiceDate" HeaderText="Invoice Date" DataFormatString="{0:dd-MMM-yyyy}" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="BaseAmount" HeaderText="Base Amount" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="VatPer" HeaderText="Vat %" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="VatAmount" HeaderText="Vat Amount" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="Total" HeaderText="Total" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="WhtPer" HeaderText="Wht %" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="WhtAmount" HeaderText="Wht Amount" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="NetPayable" HeaderText="Net Payable" ItemStyle-Wrap="false" ItemStyle-HorizontalAlign="Right" ItemStyle-BackColor="LightYellow" DataFormatString="{0:N2}"></asp:BoundField>
<asp:BoundField DataField="PaymentDivisionLocation" HeaderText="Payment Division" SortExpression="PaymentDivisionLocation" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="BankName" HeaderText="Bank Name" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="BankAccountNo" HeaderText="Account No" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="PrqNarration" HeaderText="Narration" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="EntryDate" HeaderText="Entry Date" SortExpression="EntryDate" DataFormatString="{0:dd-MMM-yyyy}" ItemStyle-Wrap="false"></asp:BoundField>
<asp:BoundField DataField="EntryBy" HeaderText="Entry By" SortExpression="EntryBy" ItemStyle-Wrap="false"></asp:BoundField>
</Columns>
</asp:GridView>
</div>
</div>
<br />
<br />
</div>
<%-- Start Approve --%>
<%-- <asp:RadioButton ID="RbtnApproved" runat="server"
AutoPostBack="True" CssClass="rbtn" Font-Size="14px"
Font-Bold="true" GroupName="RbtnGroupType" ForeColor="#339966"
OnCheckedChanged="RbtnApproved_CheckedChanged" Text="Approve" />
<asp:RadioButton ID="RbtnRejected" runat="server"
AutoPostBack="True" CssClass="rbtn" Font-Size="14px"
Font-Bold="true" GroupName="RbtnGroupType" ForeColor="Red"
OnCheckedChanged="RbtnRejected_CheckedChanged" Text="Rejected" />--%>
<div class="container mb-0 mt-0">
<table border="1" class="Bg-Entry-3-User" style="background-color: aliceblue; width: 100%">
<tr class="bg-primary text-white align-content-center">
<td colspan="3" class="text-center">
<asp:Label ID="Label35" CssClass=" fs-5" runat="server" Text="Voucher Information"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="LblVoucherNo" runat="server" CssClass="lblstyle" Text="Voucher No"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblVoucherNoDB" runat="server" CssClass="lblstyle"></asp:Label>
<br />
</td>
<td style="width: 20%;" rowspan="9">
<asp:Image ID="ImageStaffPhoto" AlternateText="No Photo" Width="200" Height="200" ImageAlign="Middle" runat="server" />
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="LblVoucherDate" runat="server" CssClass="lblstyle" Text="Voucher Date"></asp:Label>
<asp:Label ID="Label34" runat="server" Font-Size="12px" Text="(MM/DD/YYYY)" BackColor="LightYellow" ForeColor="Red"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblVoucherDateDB" runat="server" CssClass="lblstyle" Text=""></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="Label17" CssClass="lblstyle" runat="server" Text="Requested By Code"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblRequestedByCodeDB" CssClass="lblstyle" Text="" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="Label21" CssClass="lblstyle" runat="server" Text="Requested By Name"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblRequestedByNameDB" CssClass="lblstyle" Text="" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="LblEmailId" runat="server" CssClass="lblstyle" Text="Email Id"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblEmailDB" runat="server" CssClass="lblstyle"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="LblLocation" CssClass="lblstyle" runat="server" Text="Location"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblLocationDB" CssClass="lblstyle" Text="" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="LblVoucherSubmitedBy" CssClass="lblstyle" runat="server" Text="Voucher Submited By"></asp:Label>
</td>
<td style="width: 60%;">
<asp:Label ID="LblVoucherSubmitedByDB" CssClass="lblstyle" Text="" runat="server"></asp:Label>
</td>
</tr>
</table>
</div>
<%-- End Approve --%> <%-- Start Remark --%>
<div class="container mb-0 mt-0">
<table border="1" class="Bg-Entry-3-User" style="background-color: #bdf7ea; width: 100%">
<tr class="bg-primary text-white align-content-center">
<td colspan="3" class="text-center">
<asp:Label ID="Label16" CssClass=" fs-5" runat="server" Text="Payee Information"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Button ID="BtnSelectPayee" CssClass=" btn btn-light btn-outline-warning" runat="server" Text="Select Payee" OnClick="BtnSelectPayee_Click" />
</td>
<td>
<asp:Button ID="BtnRefresh" CssClass=" btn btn-light btn-outline-success" runat="server" Text="Refresh Payee" OnClick="BtnRefresh_Click" />
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label48" runat="server" Text="Voucher Type"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtVoucherType" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="True"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator22" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtVoucherType"
SetFocusOnError="true" ValidationGroup="FinalSave" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label27" runat="server" Text="Payee Name"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtPayeeName" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="True"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtPayeeName"
SetFocusOnError="true" ValidationGroup="FinalSave" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label28" runat="server" Text="Payee Code"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtPayeeCode" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="true"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtPayeeCode"
SetFocusOnError="true" ValidationGroup="FinalSave" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label31" runat="server" Text="Payment Location"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtPaymentLocation" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="true"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"
ErrorMessage="Value Required" ValidationGroup="FinalSave" ControlToValidate="TxtPaymentLocation"
SetFocusOnError="true" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label32" runat="server" Text="Email Id"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtPaymentLocationEmailId" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="true"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtPaymentLocationEmailId"
SetFocusOnError="true" ValidationGroup="FinalSave" ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="Label29" runat="server" Text="Bank Name"></asp:Label>
</td>
<td style="width: 80%;">
<asp:TextBox ID="TxtBankName" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="True"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtBankName"
SetFocusOnError="true" ForeColor="Red" Display="Dynamic"
ValidationGroup="FinalSave"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%;">
<asp:Label ID="Label30" runat="server" Text="Account No"></asp:Label>
</td>
<td style="width: 80%;">
<asp:TextBox ID="TxtAccountNo" runat="server" Height="25px" Width="75%"
AutoCompleteType="Disabled" CssClass="textstaffinfo" ReadOnly="True"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtAccountNo"
SetFocusOnError="true" ForeColor="Red" Display="Dynamic"
ValidationGroup="FinalSave"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</div>
<%-- End Remark --%>
<%-- Start Vat Information --%>
<div class="container mb-0 mt-0">
<table border="1" class="Bg-Entry-3-User" style="background-color: floralwhite; width: 100%">
<tr class="bg-primary text-white align-content-center">
<td colspan="3" class="text-center">
<asp:Label ID="Label23" CssClass=" fs-5" runat="server" Text="Vat Information"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label26" runat="server" Text="Vendor Name"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtVendorName" CssClass="textstaffinfo" Text="NA" ReadOnly="true" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator21" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtVendorName"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label46" runat="server" Text="Vendor Tin No"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtVendorTinNo" CssClass="textstaffinfo" Text="NA" ReadOnly="true" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtVendorTinNo"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label43" runat="server" Text="Invoice Ref. No"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtInvoiceNo" CssClass="textstaffinfo" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtInvoiceNo"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label44" runat="server" Text="Invoice Date"></asp:Label>
<asp:Label ID="Label45" runat="server" Font-Names="Arial" Font-Size="12px" Text="(MM/DD/YYYY)" BackColor="LightYellow" ForeColor="Red"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtInvoiceDate" CssClass="textstaffinfo" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator20" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtInvoiceDate"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label33" runat="server" ForeColor="red" Text="No Of Units"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtNoOfUnit" runat="server" Width="75%"
AutoCompleteType="Disabled" ForeColor="Red" Font-Bold="true" OnTextChanged="TxtNoOfUnit_TextChanged"
AutoPostBack="True"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server" ValidationGroup="FinalSave"
ControlToValidate="TxtNoOfUnit" ErrorMessage="Must be > 0"
Operator="GreaterThan" Type="Integer" ForeColor="Red"
ValueToCompare="0" Display="Dynamic" />
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label36" runat="server" BackColor="Yellow" Text="Unit Rate"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtUnitRate" runat="server" Width="75%"
AutoCompleteType="Disabled" OnTextChanged="TxtUnitRate_TextChanged"
AutoPostBack="True" ForeColor="Blue"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="TxtUnitRate" ErrorMessage="Value Required" ForeColor="Red" SetFocusOnError="True" Display="Dynamic" ValidationGroup="FinalSave"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator3" runat="server" ValidationGroup="FinalSave"
ControlToValidate="TxtUnitRate" ErrorMessage="Must be > 0"
Operator="GreaterThan" Type="Integer" ForeColor="Red"
ValueToCompare="0" Display="Dynamic" />
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label37" runat="server" Text="Voucher Value"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtVoucherValue" runat="server" ReadOnly="True"
Width="75%" AutoCompleteType="Disabled" AutoPostBack="True"
ForeColor="Green" OnTextChanged="TxtTotalValue_TextChanged"></asp:TextBox>
<asp:CustomValidator ID="CustomValidator1" runat="server"
ErrorMessage="Provide Total Amount" Display="Dynamic"
ForeColor="Red" OnServerValidate="CustomValidator1_ServerValidate"></asp:CustomValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label38" runat="server" Text="Base Amount"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtBaseAmount" CssClass="textstaffinfo" Width="75%" ReadOnly="true" AutoPostBack="true"
runat="server" OnTextChanged="TxtBaseAmount_TextChanged"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtBaseAmount"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label39" runat="server" Text="VAT Rate %"></asp:Label>
</td>
<td style="width: 80%">
<asp:DropDownList ID="DdlVatRate" Width="75%" AutoPostBack="true" CssClass="mydropdownlist h-50" runat="server" OnSelectedIndexChanged="DdlVatRate_SelectedIndexChanged">
<asp:ListItem>0.00</asp:ListItem>
<asp:ListItem>5.00</asp:ListItem>
<asp:ListItem>7.50</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label40" runat="server" Text="Vat Amount"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtVatAmount" CssClass="textstaffinfo" Width="75%" runat="server" ReadOnly="True" OnTextChanged="TxtVatAmount_TextChanged"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtVatAmount"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label41" runat="server" Text="Total Amount"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtTotalAmount" CssClass="textstaffinfo" Width="75%" runat="server" ReadOnly="True"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtTotalAmount"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label42" runat="server" Text="WHT Rate %"></asp:Label>
</td>
<td style="width: 80%">
<asp:DropDownList ID="DdlWhtRate" Width="75%" AutoPostBack="true" CssClass="mydropdownlist h-75" runat="server" OnSelectedIndexChanged="DdlWhtRate_SelectedIndexChanged">
<asp:ListItem Value="0.00">0.00</asp:ListItem>
<asp:ListItem>5.00</asp:ListItem>
<asp:ListItem>10.00</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label47" runat="server" Text="WHT Amount"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtWhtAmount" CssClass="textstaffinfo" ReadOnly="true" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtWhtAmount"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label49" runat="server" Text="Net Payable"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtNetPayable" CssClass="textstaffinfo" ReadOnly="true" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtNetPayable"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label51" runat="server" ForeColor="Red" Text="Advance (If Any)"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtAdvanceAmount" runat="server" AutoPostBack="true" BackColor="Red" CssClass="textstaffinfo" ForeColor="White" OnTextChanged="TxtAdvanceAmount_TextChanged" Width="75%"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="TxtAdvanceAmount" Display="Dynamic" ErrorMessage="Value Required" ForeColor="Red" SetFocusOnError="true" ValidationGroup="FinalSave"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label52" runat="server" Text="Amount In Word"></asp:Label>
</td>
<td style="width: 80%">
<asp:Label ID="LblAmountInWord" runat="server" Font-Bold="true" Font-Size="12px" ForeColor="Blue" Text=""></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label53" runat="server" CssClass="lblstyle" Font-Bold="true" Text="Narration" Width="15%">
</asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtNerration" runat="server" AutoCompleteType="Disabled" CssClass="UpperCase" Height="80px" TextMode="MultiLine" Width="75%"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator23" runat="server" ControlToValidate="TxtNerration" Display="Dynamic" ErrorMessage="Value Required" ForeColor="Red" SetFocusOnError="True" ValidationGroup="FinalSave">
</asp:RequiredFieldValidator>
</td>
</tr>
</table>
</div>
<%-- End Vat Information --%>
<%-- Start Share Information --%>
<div class="container mb-0 mt-0 ">
<div class="row g-0 pt-0 " style="">
<div class="col col-12 justify-content-center">
<table id="TableDivisionShareList" border="0" style="width: 100%; background-color: azure">
<tr>
<td rowspan="2" style="width: 50%">
<asp:GridView ID="GVVoucherRecord" runat="server"
CssClass="mydatagridview"
DataKeyNames="TmpId"
AutoGenerateEditButton="true"
OnRowEditing="OnRowEditing"
OnRowCancelingEdit="OnRowCancelingEdit"
OnRowUpdating="OnRowUpdating"
EmptyDataText="No records found."
AutoGenerateColumns="False">
<RowStyle CssClass="rows"></RowStyle>
<Columns>
<asp:BoundField DataField="StaffName" HeaderText="Staff Name" ReadOnly="True" />
<asp:BoundField DataField="DivisionName" HeaderText="Division Name" ReadOnly="True" />
<asp:BoundField DataField="Qty" HeaderText="Qty" ReadOnly="True" />
<asp:TemplateField HeaderText="Amount">
<ItemTemplate>
<asp:Label ID="lblTotalAmount" runat="server" Text='<%# Bind("TotalAmount") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtTotalAmount" runat="server" Text='<%# Bind("TotalAmount") %>'></asp:TextBox>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
<td>
<asp:Label ID="Label13" runat="server" Font-Names="arial" Font-Size="14px" Font-Bold="true" ForeColor="Blue" Text="Total Unit : "></asp:Label>
<asp:Label ID="LblTotalUnit" runat="server" Font-Names="arial" Font-Size="14px" Font-Bold="true" ForeColor="Blue" Text=""></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:Label ID="Label14" runat="server" Font-Names="arial" Font-Size="14px" Font-Bold="true" ForeColor="Blue" Text="Total Amount : "></asp:Label>
<asp:Label ID="lblGrandTotal" runat="server" Font-Names="arial" Font-Size="14px" Font-Bold="true" ForeColor="Blue" Text=""></asp:Label>
</td>
</tr>
</table>
</div>
</div>
</div>
<%-- End Share Information --%>
<%-- Start View document automatically --%>
<div class="container mb-0 mt-0 ">
<div class="row g-0 pt-0 " style="">
<div class="col col-12 justify-content-center">
<table border="0" style="width: 100%; background-color: white">
<tr>
<td>
<asp:Literal ID="ltEmbed" runat="server"></asp:Literal>
</td>
</tr>
</table>
</div>
</div>
</div>
<%-- End View document automatically --%>
<div class="container mb-0 mt-0">
<table border="1" class="Bg-Entry-3-User" style="background-color: floralwhite; width: 100%">
<tr style="height: 100px;">
<td style="width: 40%">
<div style="height: 200px">
<asp:Label ID="Label15" runat="server" Text="Select Document"
ForeColor="Blue" Font-Bold="true" Font-Size="14px"></asp:Label>
<br />
<input id="uploadPDF" type="file" name="myPDF"
accept="application/pdf,application/PDF"
onchange="return fileValidation()" />
<br />
<br />
<input type="button" value="Preview File" class="Btn" onclick="PreviewImage();" />
</div>
</td>
<td style="width: 60%">
<div style="clear: both; width: 100%">
<iframe id="viewer" style="width: 100%; height: 200px"></iframe>
</div>
</td>
</tr>
</table>
</div>
<%-- End File Upload --%>
<%-- Start View History Button --%>
<div class="container mb-0 mt-0 ">
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
<ContentTemplate>
<div class="row g-0 pt-0 " style="background-color: #e6d2fa;">
<div class="col-5 d-flex justify-content-start">
<div class="h-10 align-items-center justify-content-center">
<div style="background: lightgray">
<img id="loader2" style="display: none;" src="https://www.aspsnippets.com/demos/loader.gif" alt="" />
</div>
</div>
<asp:Button ID="BtnViewHistory" CssClass="btn btn-secondary btn-outline-light " runat="server"
Text="View History" OnClick="BtnViewHistory_Click" OnClientClick="showLoader2();" />
</div>
</div>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="BtnViewHistory" />
</Triggers>
</asp:UpdatePanel>
</div>
<%-- End View History Button --%>
<%-- Start New History View--%>
<div class="container mb-0 mt-0 ">
<div class="row g-0 pt-0 " style="">
<div class="col col-12 justify-content-center">
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:GridView ID="GVVoucherListHistory" Font-Size="10px" runat="server"
Style="width: 100%; border-collapse: collapse;"
AutoGenerateColumns="false" CssClass="mydatagridstafflist"
EmptyDataText="No Record Found"
EmptyDataRowStyle-ForeColor="Red"
EmptyDataRowStyle-Font-Bold="true"
EmptyDataRowStyle-BorderStyle="None"
HorizontalAlign="Left"
AllowSorting="true"
OnSorting="OnSorting"
OnRowDataBound="GvPendingList_RowDataBound">
<RowStyle CssClass="rows"></RowStyle>
<Columns>
<asp:BoundField HeaderText="Entry No" DataField="SrNo" />
<asp:BoundField HeaderText="Voucher Date" DataField="VoucherDate" />
<asp:BoundField HeaderText="Units" DataField="Qty" />
<asp:BoundField HeaderText="Unit Rate" DataField="Rate" DataFormatString="{0:N2}" />
<asp:BoundField HeaderText="Unit Amount" DataField="Amount" ItemStyle-HorizontalAlign="Right" ItemStyle-BackColor="LightYellow" DataFormatString="{0:N2}" />
<asp:BoundField HeaderText="Division Name" DataField="DivisionName" />
<asp:BoundField HeaderText="Staff Name" DataField="StaffName" />
<asp:BoundField HeaderText="Location" DataField="LocationName" />
<asp:BoundField HeaderText="Approve" DataField="Approve" />
<asp:BoundField HeaderText="ApproveDate" DataField="ApproveDate" />
<asp:TemplateField ItemStyle-HorizontalAlign="Center" HeaderText="View Doc">
<ItemTemplate>
<asp:LinkButton ID="lnkViewDoc" runat="server"
Text="View" OnClick="ViewDocument"
CommandArgument='<%# Eval("SrNo") %>'>
</asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</div>
<br />
<br />
</div>
<%-- Start Remark --%>
<div class="container mb-0 mt-0">
<table border="1" class="Bg-Entry-3-User" style="background-color: floralwhite; width: 100%">
<tr class="bg-primary text-white align-content-center">
<td colspan="3" class="text-center">
<asp:Label ID="Label12" CssClass=" fs-5" runat="server" Text="Approve / Decline"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label24" runat="server" Text="Remark"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtRemark" CssClass="textstaffinfo" TextMode="MultiLine" Height="50px" Text="NA" Width="75%" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ErrorMessage="Value Required" ControlToValidate="TxtRemark"
SetFocusOnError="true" ValidationGroup="FinalSave"
ForeColor="Red" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
</table>
</div>
<%-- End Remark --%>
<%-- Start Button approve / decline --%>
<asp:Panel ID="PnlApprove" runat="server">
<div class="container mb-0 mt-0">
<div class="row g-0 " style="background-color: #e6d2fa;">
<div style="width: 100%;">
<div class="col-4 d-flex justify-content-start" style="width: 50%; float: left;">
<div class="h-10 align-items-center justify-content-center ">
<div style="background: lightgray">
<img id="loader3" style="display: none;" src="https://www.aspsnippets.com/demos/loader.gif" alt="" />
</div>
</div>
<asp:Button ID="BtnApprove" CssClass="btn btn-info btn-outline-secondary "
OnClientClick="showLoader3();DisableButtonApprove();ConfirmApprove(this);"
runat="server" Text="Approve" ValidationGroup="FinalSave" />
<asp:HiddenField ID="HfResponseApprove" runat="server" ClientIDMode="Static" />
</div>
<div class="col-4 d-flex justify-content-end" style="margin-left: 67%;">
<div class="h-10 align-items-end justify-content-end ">
<div style="background: lightgray">
<img id="loader4" style="display: none;" src="https://www.aspsnippets.com/demos/loader.gif" alt="" />
</div>
</div>
<asp:Button ID="BtnDecline" CssClass="btn btn-secondary btn-outline-warning "
OnClientClick="showLoader4();DisableButtonDecline();ConfirmDecline(this);"
runat="server" Text="Decline" ValidationGroup="FinalSave" />
<asp:HiddenField ID="HfResponseDecline" runat="server" ClientIDMode="Static" />
</div>
<%--<div class="clearfix"></div>--%>
</div>
</div>
</div>
</asp:Panel>
<%-- End Approve Decline Button --%>
<%-- Start User Information --%>
<div class="container mb-0 mt-0">
<table border="1" class="Bg-Entry-3-User" style="background-color: floralwhite; width: 100%">
<tr>
<td style="width: 20%">
<asp:Label ID="Label18" runat="server" Text="User Name"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtUserName" runat="server" CssClass="textstaffinfo" BackColor="#f0e3e3" ReadOnly="True" Width="100%"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label19" runat="server" Text="User ID"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtUserId" runat="server" CssClass="textstaffinfo" BackColor="#f0e3e3" Width="100%" ReadOnly="True"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label20" runat="server" Text="User Code"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtUserCode" runat="server" CssClass="textstaffinfo" Width="100%" BackColor="#f0e3e3" ReadOnly="True"></asp:TextBox>
</td>
</tr>
<tr>
<td style="width: 20%">
<asp:Label ID="Label22" runat="server" Text="User Email Id"></asp:Label>
</td>
<td style="width: 80%">
<asp:TextBox ID="TxtUserEmailId" runat="server" CssClass="textstaffinfo" Width="100%" BackColor="#f0e3e3" ReadOnly="True"></asp:TextBox>
</td>
</tr>
</table>
</div>
<%-- End User Information --%>
</asp:Content>