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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="AttendanceAdminUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->
              
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="167"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <div class="himssuHeader2WireBox card card-box">
                                    <div class="contentHolder" style="padding-top: 0px; padding-left: 0px; padding-right: 0px">

                                        <asp:Panel ID="Panel6" runat="server">
                                            <div class="himsBoxHeader card-head">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                    <i class="far fa-trash-alt"></i>
                                                        <asp:Label ID="Label4" runat="server" Text="Deposit Delete"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                        <div class="himsBoxContent card-body himssuHeader5WireBox card card-box">
                                            <asp:Panel ID="Panel7" runat="Server">
                                                <div class="contentHolder">
                                                    <asp:Panel ID="Panel8" runat="Server">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="HostelLabel" runat="server" Text="Hostel"
                                                                    SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft">
                                                                <asp:DropDownList ID="HostelDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" AutoPostBack="true" OnTextChanged="HostelDropDownList_TextChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="RoomLabel" runat="server" Text="Room"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="RoomDropDownList" SkinID="CustomWidthDropDownList"
                                                                    onmouseleave="showHideTooltip()" CssClass="form-control" onmouseenter="showHideTooltip()">
                                                                </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="DepositHeadDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                      
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="StudentcodeLabel" runat="server" Text="Student Code"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="StudentcodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox" runat="server"> </asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3" id="SuidDiv" runat="server">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="SUIDLabel" runat="server" Text="SUID"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="SUIDTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    SkinID="CustomWidthTextBox" runat="server"> </asp:TextBox>
                                                            </div>
                                                        </div>
                                                        
                                                        <div class="alignCenter pTop10 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="DeleteButton" Text="&#xf2ed; Delete" runat="Server" OnClick="DeletelistButton_Click"  SkinID="0" class="btn-delete btn fas" />
                                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"  SkinID="0" class="btn-reset btn fas"/>
                                                        </div>
                                                        
                                                    </asp:Panel>
                                                    <div id="Div1" class="himssuHeader1WireBox col-md-12" runat="server" style="width: 100%; height: 100%">
                                                        <div id="GridViewPagerDiv" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxContent pTop10">
                                                                <asp:GridView ID="HostelListGridView" runat="server" AutoGenerateColumns="False"
                                                                    EmptyDataText="No Records Found !!" AllowPaging="false"
                                                                    ShowHeader="true" DataKeyNames="Studentid,DepositId,HostelDepositHeadId"
                                                                    CssClass="table table-striped table-bordered table-hover" OnRowDataBound="HostelListGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="HeaderSelectCheckBox" runat="server" onclick="CheckAll(this);" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                <asp:CheckBox ID="SelectCheckBox" runat="server"></asp:CheckBox>
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Room Name" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="RooomLabel" runat="server" Text='<%# Bind("Room") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="DepositHeadName" HeaderText="Deposit Head Name" ItemStyle-Width="10%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="StudentName" HeaderText="Student Name" ItemStyle-Width="25%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:TemplateField HeaderText="Suid" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="SUIDLabel" runat="server" Text='<%# Bind("SUID") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="ID No / Code" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:BoundField DataField="ClassDivisionName" HeaderText="Class" ItemStyle-Width="10%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="Amount" HeaderText="Amount" ItemStyle-Width="8%" HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:TemplateField HeaderText="Deposit Date" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DepositDate" runat="server" Text='<%# Bind("DepositDate", "{0:dd/MM/yyyy}") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </div>
                                    </div>
                                </div>                                
                            </div>
                        
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
