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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ 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="BulkFeeAddUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="104"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <asp:Label ID="Label1" runat="server" Text="Bulk Fee Add"></asp:Label>
                                    </header>
                                </div>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FeeHeadGroupLabel" runat="server" Text="Fee Head"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="FeeHeadDropDownList" SkinID="CustomWidthDropDownList"
                                            class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="FeeHeadGroupDropDownList_OnSelectedIndexChanged">
                                        </asp:DropDownList>
                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                        <asp:HiddenField ID="IndexHiddenField" runat="server" />
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="Div1" class="himssuHeader6WireBox pTop5 box-body box-solid" runat="server" visible="false">
                                    <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <%--<div class="gridHeaderText">
                                                <header>
                                                    <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                </header>
                                            </div>--%>
                                        </div>
                                        <div class="fRight mt-27 pagination display-flex ">
                                            <asp:Button ID="AddButton" runat="server" OnClick="AddButton_Click"
                                                Text="&#xf067; Add" SkinID="0" CssClass="btn btn-add fas"/>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent gridviewfont table-responsive">
                                        <asp:GridView ID="FeeMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                            EmptyDataText="No Records Found !!" AllowPaging="false" OnRowDataBound="FeeMasterGridView_RowDataBound"
                                            ShowHeader="True" DataKeyNames="Id,FeeHeadId,Index,IsObsolete" CssClass="table table-striped table-bordered table-hover">
                                            <Columns>
                                                <asp:TemplateField HeaderText="Code" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="CodeTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                            Width="99%" onmouseenter="showHideTooltip()" MaxLength="20" onkeypress="javascript:uppercase();"
                                                            Text='<%# Bind("Code") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Number" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="NumberTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                            Width="99%" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"
                                                            Text='<%# Bind("Number") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Title" ItemStyle-Width="30%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="TitleTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                            Width="99%" onmouseenter="showHideTooltip()" MaxLength="100" Text='<%# Bind("Title") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Fee Head" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:DropDownList ID="FeeHeadDropDownList" CssClass="form-control" runat="server" SkinID="CustomWidthDropDownList"
                                                            Width="100%">
                                                        </asp:DropDownList>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Order Index" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Left"
                                                    ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:TextBox ID="OrderIndexTextBox" runat="server" onmouseleave="showHideTooltip()"
                                                            SkinID="CustomWidthTextBox" Width="99%" onmouseenter="showHideTooltip()" onkeypress="return isNumberKey(event)"
                                                            Text='<%# Bind("OrderIndex") %>'></asp:TextBox>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Delete" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="8%"
                                                    ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center">
                                                    <ItemTemplate>
                                                        <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                            ToolTip="Delete" Enabled='<%# Bind("IsObsolete") %>' ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                            <PagerSettings Visible="False" />
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="spacer">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
   <%-- <script data-main="../../JavaScript/rjs/encrypt/bulk-feeadd-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/bulk-feeadd")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
