<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_Scholarship_ScholarshipReceive, App_Web_xxwbgpzv" title="Scholarship Receive" 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/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="timePicker" %>
<%@ Register Src="~/UserControls/EExam/DataBankDetail.ascx" TagName="DataBankDetailControl" TagPrefix="DB" %>
<%@ Register Src="~/UserControls/ConfirmationBox/ConfirmationBoxControl.ascx" TagName="ConformationControl" TagPrefix="Conformation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himssuHeader3WireBox">
                            <table>
                                <tr>
                                    <td>
                                        <div class="himsBoxContent">
                                            <div class="leftUlMenu">
                                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="209"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                         </div>
                        <div class="row whiteboxpaddingleft">
                            <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                                <div class="himsBoxHeader card-head">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-graduation-cap"></i>
                                                <asp:Label ID="ScholarshipEligibleStudentDetailLabel" runat="server" Text="Scholarship Receive"></asp:Label>
                                            </header>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent card-body padd-0">
                                    <asp:Panel ID="Panel2" runat="Server">
                                        <div class="contentHolder">
                                            <div class="col-md-12">
                                               
                                                    <div class="col-md-6">
                                                        <asp:Label ID="ScholarshipTypeLabel" runat="server" Text="Scholarship Type : " Font-Bold="true"></asp:Label>&nbsp;&nbsp;
                                                                    <asp:Label ID="SelectedScholarshipTypeLabel" runat="server"></asp:Label>
                                                    </div>
                                                  
                                                     <div class="col-md-6">
                                                        <asp:Label ID="ScholarshipLabel" runat="server" Text="Scholarship : " Font-Bold="true"></asp:Label>&nbsp;&nbsp;
                                                                     <asp:Label ID="SelectedScholarshipLabel" runat="server"></asp:Label>
                                                    </div>
                                                  
                                                   
                                            </div>
                                        
                                            <div class="navgraybackground col-md-12 padd-0">
                                                <ul class="nav nav-tabs">
                                                    <li>
                                                        <a href="#tab_1">
                                                            <asp:Button Text="&#xf19d; Scholarship" ID="ScholarshipMendatoryButton" CssClass="fas transparenttab" SkinID="0" runat="server" OnClick="ScholarshipMendatoryButton_Click" />
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="#tab_1">
                                                            <asp:Button Text="&#xf19d; Eligible Student" ID="EligibleStudentButton" CssClass="fas transparenttab" SkinID="0" Enabled="true" runat="server" OnClick="EligibleStudentButton_Click" />
                                                        </a>
                                                    </li>
                                                    <li class="active">
                                                        <a href="#tab_1">
                                                            <asp:Button Text="&#xf19d; Scholarship Receive" ID="ScholarshipReceiveButton" CssClass="fas transparenttab" SkinID="0" Enabled="true" runat="server" OnClick="ScholarshipReceiveButton_Click" />
                                                        </a>
                                                    </li>
                                                    <li>
                                                        <a href="#tab_1">
                                                            <asp:Button Text="&#xf19d; Scholarship Paid" ID="ScholarshipPaidButton" CssClass="fas transparenttab" SkinID="0" Enabled="true" runat="server" OnClick="ScholarshipPaidButton_Click" />
                                                        </a>
                                                    </li>
                                                </ul>
                                            </div>
                                            <div class="contentHolder">
                                                <asp:Panel ID="PanEnable" runat="server" meta:resourcekey="PanEnableResource1">
                                                    <div class="himsBoxContent">
                                                        <div class="contentHolder">
                                                            <asp:Panel ID="Panel1" runat="server" meta:resourcekey="PanEnableResource1">

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="TitleLabel" runat="server" Text="Title" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="TitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" MaxLength="100"> </asp:TextBox>
                                                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ReceiveDateLabel" runat="server" Text="Receive Date" Visible="True"
                                                                            SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <Date:DatePickerControl DisplayDatePicker="true" ID="ReceiveDatePickerControl" Visible="True"
                                                                            runat="server" />
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="TotalAmountLabel" runat="server" Text="Total Amount" SkinID="MandatoryLabel"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="TotalAmountTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="CustomWidthTextBox" runat="server" onblur="javascript:return fnValidateDecimal(this,8,2)"
                                                                            onkeypress="javascript:return MaskDecimal(event,8,2)"> </asp:TextBox>
                                                                    </div>
                                                                </div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="PayTypeLabel" runat="server" Text="Pay Type"></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="ChequeNumberLabel" runat="server" Text="Cheque Number"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="ChequeNumberTextBox" 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="BankNameLabel" runat="server" Text="Bank Name"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="BankNameTextBox" 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="RemarkLabel" runat="server" Text="Remark"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:TextBox ID="RemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                            SkinID="MultiLineTextBox" Width="300px" TextMode="MultiLine" Height="40px" runat="server"
                                                                            MaxLength="200"> </asp:TextBox>
                                                                    </div>
                                                                </div>
                                                                <div id="Div1" class="himssuHeader6WireBox col-md-12 pTop5" runat="server" visible="true">
                                                                    <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server" visible="True">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                        <div class="himsBoxTitle">
                                                                            <div class="gridHeaderText">
                                                                                <header>
                                                                                    <asp:Label ID="GridViewLabel" Text="List of Scholarship Receive"
                                                                                        runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                          </div>
                                                                          <div class="outerBox pTop5 col-md-12">
                                                                            <div class="fRight">
                                                                                <asp:Button ID="SaveReceiveButton" runat="server" OnClick="SaveReceiveButton_Click" Text="&#xf0c7; Save" SkinID="0" CssClass="btn btn-save fas" />
                                                                                <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf12d; Clear" SkinID="0" CssClass="btn btn-reset fas" />
                                                                                <asp:Button ID="PrintReceiveButton" runat="server" Text="&#xf15b; Print" OnClick="PrintReceiveButton_Click" SkinID="0" CssClass="btn btn-print fas" />
                                                                            </div>
                                                                        </div>
                                                                        <div class="himsBoxContent table-responsive">
                                                                            <asp:GridView ID="ScholarshipReceiveGridView" runat="server" AutoGenerateColumns="False"
                                                                                EmptyDataText="No Records Found !!"
                                                                                CssClass="table table-striped table-bordered table-hover" DataKeyNames="Id,ScholarshipId">
                                                                                <Columns>
                                                                                    <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                                Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                        <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="ScholarshipName" HeaderText="Scholarship" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                        <ItemStyle Width="20%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="Title" HeaderText="Title" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                        <ItemStyle Width="20%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:TemplateField HeaderText="Receive Date" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ReceiveDate" runat="server" Text='<%# Bind("ReceiveDate", "{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:BoundField DataField="PayType" HeaderText="Pay Type" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:BoundField DataField="TotalAmount" HeaderText="Total Amount" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                                        <ItemStyle Width="10%" />
                                                                                    </asp:BoundField>
                                                                                    <asp:TemplateField ShowHeader="true" HeaderText="Delete" HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%">
                                                                                        <ItemTemplate>
                                                                                            <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                                ImageUrl="~/Images/icons/icon_delete.gif" ToolTip="Delete" />
                                                                                        </ItemTemplate>
                                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                                        <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                                <PagerSettings Visible="False" />
                                                                            </asp:GridView>
                                                                        </div>
                                                                  
                                                                </div>
                                                            </asp:Panel>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>
                            </div>
                         
                        </div>
                    </div>
                   
                </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/scholership-receive-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/scholership-receive")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>    
</asp:Content>
