<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Hostel_HostelDepositRefund, App_Web_kux14qts" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/Hostel/HostelDetailBoxControl.ascx" TagName="HostelControl"
    TagPrefix="Hostel" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="FeeHeadMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <uc1:CommonSearchUserControl ID="CommonSearchControl" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
               
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <%--<div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>
                                            </div>
                                        </div>
                                    </div>--%>
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="175"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <Hostel:HostelControl ID="HostelUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-search"></i>
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                    </header>
                                                </div>
                                                <div class="fRight mt-27">
                                                    <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                                        class="btn btn-add fas" Text="&#xf067; Add" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                               
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control">
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchDepositHeadLabel" Text="Deposit Head" runat="server"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList ID="SearchDepositHeadIdDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control">
                                                        </asp:DropDownList>
                                                        <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                    </div>
                                                </div>
                                             
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchFromRefundAmountLabel" runat="server" Text="From Refund Amount"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="SearchFromRefundAmountTextBox" onmouseleave="showHideTooltip()"
                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" runat="server"
                                                            onkeypress="javascript:return MaskDecimal(event,10,2)" onblur="javascript:return fnValidateDecimal(this,10,2)"> </asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchToRefundAmountLabel" runat="server" Text="To Refund Amount"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="SearchToRefundAmountTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" runat="server" onkeypress="javascript:return MaskDecimal(event,10,2)"
                                                            onblur="javascript:return fnValidateDecimal(this,10,2)"> </asp:TextBox>
                                                    </div>
                                                </div>
                                               
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchFromRefundDateLabel" runat="server" Text="From Refund Date"
                                                            Visible="True"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromRefundDatePickerControl"
                                                            Visible="True" runat="server" />
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchToRefundDateLabel" runat="server" Text="To Refund Date" Visible="True"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToRefundDatePickerControl"
                                                            Visible="True" runat="server" />
                                                    </div>
                                                </div>
                                               
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        <asp:Label ID="SearchIdNoLabel" runat="server" Text="Id No"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:TextBox ID="SearchIdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" Width="150px" runat="server"> </asp:TextBox>
                                                    </div>
                                                </div>
                                               
                                                <div class="alignCenter pTop5 col-md-12">
                                                    <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                                        SkinID="0" class="btn-search btn fas" />
                                                    <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas" />
                                                    <asp:Button ID="PrintButton" runat="server" Text="&#xf15b; Print" OnClick="PrintButton_Click" SkinID="0" class="btn-report btn fas" />
                                                </div>
                                               
                                                <div id="Div1" class="himssuHeader7WireBox" runat="server">
                                                    <div id="DepositRefundListDetailDiv" visible="false" runat="server">
                                                        
                                                        <div class="himsBoxHeader card-head inner" id="DepositRefundListDiv" visible="false" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                           <%-- <div class="gridHeaderText">
                                                            <header>
                                                            <asp:Label ID="AssignRouteLabel" runat="server" Text="Hostel Deposit Refund"></asp:Label>
                                                            </header>
                                                            </div>--%>
                                                        </div>
                                                        <div class="himsBoxContent col-md-12">
                                                            <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                                <asp:GridView ID="DepositRefundGridView" runat="server" AutoGenerateColumns="False"
                                                                    AllowPaging="false" PageSize="5" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                                    DataKeyNames="AcademicId,StudentId,HostelDepositHeadId,Id" OnRowDataBound="DepositRefundGridView_RowDataBound"
                                                                    OnPageIndexChanging="DepositRefundGridView_PageIndexChanging" CssClass="table table-striped table-bordered table-hover">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderText="">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select" Text="Select"
                                                                                    CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="DepositHeadName" HeaderText="Deposit Head Name" ItemStyle-Width="15%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="StudentName" HeaderText="Student Name" ItemStyle-Width="25%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="Code" HeaderText="ID No / Code" ItemStyle-Width="10%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" ItemStyle-Width="10%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="RefundAmount" HeaderText="Refund Amount" ItemStyle-Width="15%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:TemplateField HeaderText="Refund Date" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DepositDate" runat="server" Text='<%# Bind("RefundDate", "{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <div class="himssuHeader1WireBox card card-box" runat="server" id="DetailDiv" visible="false">
                                    <div class="himsBoxHeader card-head">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <header>
                                                    <i class="fas fa-list-ul"></i>
                                                <asp:Label ID="FeeHeadMasterDetailLabel" runat="server" Text="Details"></asp:Label>
                                                </header>
                                            </div>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex">
                                            <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                runat="server" ImageUrl="~/Images/arrowLlast.gif" OnClick="FirstRecordImageButton_Click"
                                                CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                <i class="fa fa-fast-backward"></i>
                                            </asp:LinkButton>
                                            <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                runat="server" ImageUrl="~/Images/arrowLeft.gif" OnClick="PreviousImageButton_Click"
                                                CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                <i class="fa fa-play fa-rotate-180"></i>
                                            </asp:LinkButton>
                                            &nbsp; &nbsp;
                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                            <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                            <asp:Label ID="ofLabel" Text="of" runat="server" />
                                            <asp:Label ID="TotalRecord" runat="server" />
                                            &nbsp; &nbsp;
                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                runat="server" ImageUrl="~/Images/arrowRight.gif" OnClick="NextImageButton_Click"
                                                CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                <i class="fa fa-play"></i>
                                            </asp:LinkButton>
                                            <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                runat="server" ImageUrl="~/Images/arrowRLast.gif" OnClick="LastRecordImageButton_Click"
                                                CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                 <i class="fa fa-fast-forward"></i>
                                            </asp:LinkButton>
                                            &nbsp; &nbsp; <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                class="btn btn-back fas" Text="&#xf30a;  Back" />
                                        </div>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <div class="contentHolder">
                                            <div id="SUIdDiv" class="outerBox pTop5 col-md-3" runat="server" visible="false">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SUIdLabel" runat="server" Text="SU Id"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SUIdTextBox" runat="server" SkinID="CustomWidthTextBox"
                                                        AutoPostBack="true" MaxLength="50" OnTextChanged="SUIdTextBox_TextChanged"></asp:TextBox>
                                                </div>
                                            </div>
                                          
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                       CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                          
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SourceCodeLabel" runat="server"   SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="SourceCodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                        MaxLength="200" AutoPostBack="true" OnTextChanged="SourceCodeTextBox_TextChanged"> 
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="ID Search" ID="SourceCodeImageButton"
                                                        runat="server" ImageUrl="../../Images/icons/icon_find.gif" />
                                                    <asp:HiddenField ID="AcademicIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="StudentIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="DepositHeadIdHiddenField" runat="server" />
                                                    <asp:HiddenField ID="AmountHiddenField" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="GuestNameLabel" runat="server" Text="Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="GuestNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ClassLabel" runat="server" Text="Class"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ClassTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="DepositHeadLabel" Text="Deposit Head" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="DepositHeadIdDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList"
                                                       CssClass="form-control" OnSelectedIndexChanged="DepositHeadIdDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="RefundAmountLabel" runat="server" Text="Refund Amount" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="RefundAmountTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" onkeypress="javascript:return MaskDecimal(event,10,2)"
                                                        onblur="javascript:return fnValidateDecimal(this,10,2)"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="RefundDateLabel" runat="server" Text="Refund Date" Visible="True"
                                                        SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="RefundDatePickerControl" Visible="True"
                                                        runat="server" />
                                                </div>
                                            </div>
                                           
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="PayTypeLabel" runat="server" Text="Pay Type" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="PayTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        AutoPostBack="true" OnSelectedIndexChanged="PayTypeDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ChequeNoLabel" runat="server" Text="Cheque No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ChequeNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="20"> </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="BankLabel" runat="server" Text="Bank Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <acc:AutoCompleteControl ID="BankTextBox" runat="server" MinimumPrefixLength="2"
                                                        TabIndex="1" Width="150px" ValidateOnTextChanged="false" ContextKey="sFinanceCommon.Bank"
                                                        DisplayLoadingStatus="true" FirstRowSelected="false" MaxLength="200" AutoPostBack="true" />
                                                    <asp:ImageButton ID="BankSearchButton" runat="server" SkinID="FindImage" ToolTip="Bank Name Search"
                                                        TabIndex="2" OnClick="BankSearchButton_OnClick" meta:resourcekey="BankSearchButtonResource1"
                                                        ImageUrl="../../Images/icons/icon_find.gif" />
                                                </div>
                                            </div>
                                          
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="RemarkLabel" runat="server" Text="Remark" meta:resourcekey="CodeSearchLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="RemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="MultiLineTextBox" TextMode="MultiLine" runat="server"
                                                        MaxLength="200"> </asp:TextBox>
                                                </div>
                                            </div>
                                            
                                        </div>
                                    </div>
                                </div>
                            </div>
                       
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
           
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/deposit-round-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/deposit-round")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script language="javascript" type="text/javascript">

        function fnValidateDepositRefund() {
            //debugger;
            var himsValidator = [
                                new hims_ctl_val("<%= OrganizationDropDownList.ClientID %>", "Organization", "T", "", "", "", 20),
                                new hims_ctl_val("<%= SourceCodeTextBox.ClientID %>", "ID No", "T", "", "", "", 20),
                                new hims_ctl_val("<%= DepositHeadIdDropDownList.ClientID %>", "Deposit Head", "T", "", "", "", 20),
                                new hims_ctl_val("<%= RefundAmountTextBox.ClientID %>", "Refund Amount", "T", "", "", "", 20),
                                new hims_ctl_val('<%= RefundDatePickerControl.ClientID %>' + '_DateTextbox', "Refund Deposit Date", "T", "", "", "", 10),
                                new hims_ctl_val("<%= PayTypeDropDownList.ClientID %>", "Pay Type", "T", "", "", "", 20)
            ];
            if (fnDoValidate(himsValidator))
                return true;
            else
                return false;
        }

        function uppercase() {
            key = window.event.keyCode;
            if ((key > 0x60) && (key < 0x7B))
                window.event.keyCode = key - 0x20;
        }
        function isNumberKey(evt) {
            var charCode = (evt.which) ? evt.which : event.keyCode
            if (charCode > 31
            && (charCode < 48 || charCode > 57))
                return false;

            return true;
        }
    </script>
</asp:Content>
