<%@ page title="EIS Mapping" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_StudentManagement_EISMapping, App_Web_zpq5oxty" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl"
    TagPrefix="SuperAdminScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <script type="text/javascript">
        $(document).ready(function () {
            //debugger;
            HTMLInputElement.prototype.scrollIntoView = function (a) { this.scrollIntoViewIfNeeded(); }
            HTMLSelectElement.prototype.scrollIntoView = function (a) { this.scrollIntoViewIfNeeded(); }
            HTMLAreaElement.prototype.scrollIntoView = function (a) { this.scrollIntoViewIfNeeded(); }
        });
    </script>
    <asp:UpdatePanel ID="EISMappingUpdatePanel" runat="server">
        <ContentTemplate>
            <asp:HiddenField ID="IndexHiddenField" runat="server" Value="0" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="leftUlMenu">
                                        <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl" ScreenGroupId="153"
                                            Visible="true" runat="server" />
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="SearchHeaderPanel" runat="server" meta:resourcekey="SearchHeaderPanelResource1">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-tasks"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="EIS Mapping"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <div class="contentHolder">
                                            <div class="tableContainer">
                                                <div>
                                                    <div class="himsBoxHeader card-head inner" id="GridViewPagerDiv" runat="server">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="pull-right col display-flex ">
                                                                <asp:DropDownList ID="AddGridDropDownList1" runat="server" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control">
                                                                    <asp:ListItem Text="1" Value="0" Selected="True"></asp:ListItem>
                                                                    <asp:ListItem Text="5" Value="5"></asp:ListItem>
                                                                    <asp:ListItem Text="10" Value="10"></asp:ListItem>
                                                                    <asp:ListItem Text="15" Value="15"></asp:ListItem>
                                                                </asp:DropDownList>&nbsp;&nbsp;
                                                                           <asp:Button ID="AddButton" runat="server" SkinID="0" CssClass="btn btn-add fas" OnClick="AddButton_Click"
                                                                               Text=" Add" />
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div id="Div2" class="himssuHeader6WireBox pTop5  col-md-12" runat="server">
                                                        <div class="himsBoxContent table-responsive">
                                                            <asp:GridView ID="EISMappingGridView" runat="server" AutoGenerateColumns="False" DataKeyNames="MapOrgGroupId,MapApiUrl,IsObsolete"
                                                                EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover">
                                                                <Columns>
                                                                    <asp:TemplateField HeaderText="Map OrgGroup">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="MapOrgGroupTextBox" MaxLength="200" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("MapOrgGroupId") %>' onKeypress="javascript:return MaskDecimal(event,12,2)" />
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="10%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Title">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="TitleTextBox" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("Title") %>' />
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="40%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Map Api Url">
                                                                        <ItemTemplate>
                                                                            <asp:TextBox ID="MapApiUrlTextBox" MaxLength="500" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("MapApiUrl") %>' onkeypress="return AvoidSpace(event)" />
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Left" />
                                                                        <ItemStyle Width="40%" Wrap="True" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="InActive">
                                                                        <ItemTemplate>
                                                                            <label class="rt-chkbox rt-chkbox-single rt-chkbox-outline">
                                                                                <asp:CheckBox ID="IsActiveCheckBox" runat="server" Checked='<%# Bind("IsObsolete") %>' />
                                                                                <span></span>
                                                                            </label>
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                        <ItemStyle Width="5%" HorizontalAlign="Center" />
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Delete">
                                                                        <ItemTemplate>
                                                                            <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton1" runat="server" CommandName="Select" OnClick="DeleteImageButton1_Click"
                                                                                ToolTip="Delete" ImageUrl="../../../Images/icons/icon_delete.gif" />
                                                                        </ItemTemplate>
                                                                        <HeaderStyle HorizontalAlign="Center" />
                                                                        <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/fee-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <script type="text/javascript">
        function AvoidSpace(event) {
            var k = event ? event.which : window.event.keyCode;
            if (k == 32 || k == 13) return false;
        }
    </script>
</asp:Content>
