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

<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="SelectReportFormatUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont" valign="top">
                    <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 width=" 0px" cellpadding="0" cellspacing="0">
                            <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="row whiteboxpaddingleft">
                    <div class="himssuHeader1WireBox card card-box">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-cog"></i>
                                        <asp:Label ID="HeadLabel" runat="server" Text="Prefix Setup"></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="PrefixFunctionalityLabel" runat="server" Text="Prefix Functionality"
                                            SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList runat="server" ID="PrefixFunctionalityDropDownList" SkinID="CustomWidthDropDownList"
                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            AutoPostBack="true" OnSelectedIndexChanged="PrefixFunctionalityDropDownList_SelectedIndexChanged">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div class="outerBox pTop5 col-md-12 radiobtn bg-lghtgrey">
                                    <div class="fLeft pRight5" style="width: 400">
                                        <asp:RadioButtonList runat="server" ID="StudentPrefixModeRadioButtonList" RepeatDirection="Horizontal"
                                            Visible="false" AutoPostBack="true" OnSelectedIndexChanged="StudentPrefixModeRadioButtonList_SelectedIndexChanged">
                                            <asp:ListItem Text="Organization" Value="2021" Selected="True"></asp:ListItem>
                                            <%-- <asp:ListItem Text="Department" Value="2017"></asp:ListItem>--%>
                                        </asp:RadioButtonList>
                                        <asp:RadioButtonList runat="server" ID="EmployeePrefixModeRadioButtonList" RepeatDirection="Horizontal"
                                            Visible="false" AutoPostBack="true" OnSelectedIndexChanged="EmployeePrefixModeRadioButtonList_SelectedIndexChanged">
                                            <asp:ListItem Text="Organization" Value="2021" Selected="True"></asp:ListItem>
                                            <%-- <asp:ListItem Text="Department" Value="2017"></asp:ListItem>--%>
                                            <%--<asp:ListItem Text="Employee Type" Value="2025"></asp:ListItem>--%>
                                        </asp:RadioButtonList>
                                        <asp:RadioButtonList runat="server" ID="OrganizationPrefixModeRadioButtonList" RepeatDirection="Horizontal"
                                            Visible="false">
                                            <asp:ListItem Text="OrgGroup" Value="2010" Selected="True"></asp:ListItem>
                                            <asp:ListItem Text="Organization" Value="2021"></asp:ListItem>
                                        </asp:RadioButtonList>
                                        <asp:RadioButtonList runat="server" ID="AdmissionInquiryRadioButtonList" RepeatDirection="Horizontal"
                                            Visible="false" AutoPostBack="true" OnSelectedIndexChanged="AdmissionInquiryRadioButtonList_SelectedIndexChanged">
                                            <asp:ListItem Text="Organization" Value="2021" Selected="True"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="OrgDiv" runat="server" visible="false">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="PrefixLabel" Text="Prefix" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="PrefixTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="CustomWidthTextBox"
                                                onmouseenter="showHideTooltip()" MaxLength="10"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="NumberLengthLabel" runat="server" Text="Number Length"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="NumberLengthTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                SkinID="CustomWidthTextBox" runat="server" MaxLength="9" onkeypress="javascript:return isNumberKey(this)"> </asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <div class="spacer">
                                    <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="DepartmentDiv" class="himssuHeader6WireBox col-md-12"
                                    runat="server" visible="false">
                                    <div class="himsBoxHeader" id="DepartmentGridViewPagerDiv" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText">
                                                <asp:Label ID="DepartmentGridViewLabel" Text="" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div id="Div4" runat="server" class="table-responsive">
                                            <asp:GridView ID="DepartmentGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!" AllowPaging="False" CssClass="table table-striped table-bordered table-hover"
                                                DataKeyNames="DepartmentId">
                                                <Columns>
                                                    <asp:BoundField DataField="DepartmentName" HeaderText="Department" ItemStyle-Width="30%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:TemplateField HeaderText="Prefix" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                        HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="PrefixTextBox" runat="server" ClientIDMode="Static" Text='<%# Bind("Prefix") %>'
                                                                SkinID="MultilineTextBox" Width="100px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Number Length" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                        HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="NumberLengthTextBox" runat="server" ClientIDMode="Static" Text='<%# Bind("NumberLength") %>'
                                                                SkinID="MultilineTextBox" Width="100px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="EmployeeTypeDiv" class="himssuHeader6WireBox box-body box-solid gridviewfont"
                                    runat="server" visible="false">
                                    <div class="himsBoxHeader" id="EmployeeGridViewPagerDiv" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText">
                                                <asp:Label ID="EmployeeTypeGridViewLabel" Text="" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div id="Div1" runat="server" class="table-responsive">
                                            <asp:GridView ID="EmployeeTypeGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!" AllowPaging="False" CssClass="table table-striped table-bordered table-hover"
                                                DataKeyNames="EmployeeTypeId">
                                                <Columns>
                                                    <asp:BoundField DataField="EmployeeTypeName" HeaderText="Employee Type" ItemStyle-Width="30%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:TemplateField HeaderText="Prefix" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                        HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="PrefixTextBox" runat="server" ClientIDMode="Static" Text='<%# Bind("Prefix") %>'
                                                                SkinID="MultilineTextBox" Width="100px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Number Length" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                        HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="NumberLengthTextBox" runat="server" ClientIDMode="Static" Text='<%# Bind("NumberLength") %>'
                                                                SkinID="MultilineTextBox" Width="100px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="OrganizationDiv" class="himssuHeader6WireBox col-md-12"
                                    runat="server" visible="false">
                                    <div class="himsBoxHeader" id="OrganizationGridViewPagerDiv" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="gridHeaderText">
                                                <asp:Label ID="OrganizationGridViewLabel" Text="" runat="server" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div id="Div2" runat="server" class="table-responsive">
                                            <asp:GridView ID="OrganizationGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                EmptyDataText="No Records Found !!" AllowPaging="False" CssClass="table table-striped table-bordered table-hover"
                                                DataKeyNames="OrgId">
                                                <Columns>
                                                    <asp:BoundField DataField="OrgName" HeaderText="Organization Name" ItemStyle-Width="40%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                    <asp:TemplateField HeaderText="Prefix" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                        HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="PrefixTextBox" runat="server" ClientIDMode="Static" Text='<%# Bind("Prefix") %>'
                                                                SkinID="MultilineTextBox" Width="100px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Number Length" ItemStyle-Width="20%" ItemStyle-Wrap="true"
                                                        HeaderStyle-HorizontalAlign="Left">
                                                        <ItemTemplate>
                                                            <asp:TextBox ID="NumberLengthTextBox" runat="server" ClientIDMode="Static" Text='<%# Bind("NumberLength") %>'
                                                                SkinID="MultilineTextBox" Width="100px"></asp:TextBox>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="LastSUIdNo" HeaderText="Last SU Id No" ItemStyle-Width="20%"
                                                        HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                </Columns>
                                                <PagerSettings Visible="False" />
                                            </asp:GridView>
                                        </div>
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                                <div id="HelpDiv" class="col-md-12" runat="server" visible="false">
                                    <div class="alert alert-info">
                                        <asp:Label ID="HelpLabel" Text="" runat="server" />
                                    </div>
                                </div>
                                <div class="cBoth">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="spacer">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif" />
                    </div>
                </div>
                </tr>
                    </table>
                    <%--  HEDP History Ends Here--%>
            </div>
            </div>
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%-- <script data-main="../../JavaScript/rjs/encrypt/prefix-setup-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/prefix-setup")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
