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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="../../../UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl"
    TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch"
    TagPrefix="Std" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <div id="CPDiv">
        <asp:UpdatePanel ID="updPnlSearchGridView" runat="server">
            <ContentTemplate>
                <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
                <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
                <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="122"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <div class="row whiteboxpaddingleft">
                        <!-- Sub Container2 Box Start -->
                        <div class="himssuHeader5WireBox card card-box" runat="server" id="SearchDiv">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="TopPanel" runat="server" meta:resourcekey="TopPanelResource1">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <%--<asp:Image ID="Image1" runat="server" class="fLeft" meta:resourcekey="Image1Resource1" />--%>
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label1" runat="server" Text="Search" meta:resourcekey="Label1Resource1"></asp:Label>
                                            </header>
                                            <%--<cc1:CollapsiblePanelExtender ID="cpe" runat="server" TargetControlID="DetailPanel"
                                                            ExpandControlID="Image1" CollapseControlID="Image1" TextLabelID="Label1" Collapsed="True"
                                                            ImageControlID="Image1" ExpandedImage="~/images/buttonCollapse.gif" CollapsedImage="~/images/buttonExpand.gif"
                                                            Enabled="True" />--%>
                                        </div>
                                        <div class="fRight mt-27">
                                            <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" SkinID="0"
                                                CssClass="btn btn-add fas" Text="&#xf067; Add" />
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <asp:Panel ID="DetailPanel" runat="server" meta:resourcekey="DetailPanelResource1">
                                <div class="himsBoxContent card-body">
                                    <div class="contentHolder">
                                        <asp:Panel ID="SearchCriteriaPanel" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="SearchOrganizationDropDownList" 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="RoleLabel" Text="Role" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="RoleDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchDisplayNameLabel" runat="server" Text="Display Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SearchDisplayNameTextBox" runat="server" TabIndex="1" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                    <asp:DropDownList ID="ConditionDropDownList" runat="server" Visible="False" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropdownList" CssClass="form-control"
                                                        meta:resourcekey="ConditionDropDownListResource1">
                                                        <asp:ListItem Selected="True" Value="0" meta:resourcekey="ListItemResource1">OR</asp:ListItem>
                                                        <asp:ListItem Value="1" meta:resourcekey="ListItemResource2">AND</asp:ListItem>
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SearchLoginNameLabel" runat="server" Text="User Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SearchLoginNameTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="col-md-12 bg-lghtgrey radiobtn">
                                                <div class="controlLabelWidth col-md-6">
                                                    <asp:RadioButtonList ID="SearchSourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal">
                                                        <asp:ListItem Text="Other" Value="1" Selected="True"></asp:ListItem>
                                                        <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                        <asp:ListItem Text="Student" Value="2003"></asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SourceCodeLabel" runat="server" Text="ID No / Code"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SourceCodeTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SourceNameLabel" runat="server" Text="Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SourceNameTextBox" runat="server" TabIndex="2" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="fLeft">
                                                    <asp:CheckBox ID="SearchIsObseleteCheckBox" runat="server" Text="InActive"></asp:CheckBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="fLeft">
                                                    <asp:CheckBox ID="DeletedUserCheckBox" runat="server" Text="Deleted User"></asp:CheckBox>
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                            <div class="alignCenter pTop5">
                                                <asp:Button ID="SearchButton" runat="server" OnClick="SearchButton_Click"
                                                    CausesValidation="False" TabIndex="3" SkinID="0" CssClass="btn-search btn fas" Text="&#xf002; Search" />
                                                <asp:Button ID="ClearSearchButton" runat="server" OnClick="ClearSearchButton_Click"
                                                    Text="&#xf0e2; Reset" CssClass="btn-reset btn fas" SkinID="0" CausesValidation="False" TabIndex="4" meta:resourcekey="ClearSearchButtonResource1" />
                                            </div>
                                            <br />
                                        </asp:Panel>
                                        <div class="himssuHeader7WireBox col-md-12" id="PatientRelationDiv"
                                            runat="server">
                                            <div class="himsBoxHeader">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <%--<div class="headerText">
                                                                    <div class="fLeft">
                                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="True" meta:resourcekey="GridViewLabelResource1" />
                                                                    </div>
                                                                </div>--%>
                                                    <%--<div align="right" class="fRight" style="margin-top: 0px;">
                                                                    <uc1:GridViewPager ID="UserSearchGridViewPager" runat="server" OnFirstRecordClick="UserSearchGridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="UserSearchGridViewPager_LastRecordClick" OnNextRecordClick="UserSearchGridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="UserSearchGridViewPager_PrevRecordClick" OnTextBoxValueChange="UserSearchGridViewPager_TextBoxValueChange" />
                                                                </div>--%>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="Div6" runat="server" class="table-responsive" visible="false">
                                                    <asp:GridView ID="UserSearchGridView" runat="server" AutoGenerateColumns="False"
                                                        CssClass="table table-striped table-bordered table-hover" OnSelectedIndexChanged="UserSearchGridView_SelectedIndexChanged"
                                                        OnPageIndexChanging="UserSearchGridView_PageIndexChanging" DataKeyNames="Id"
                                                        AllowPaging="false" PageSize="5" OnRowDataBound="UserSearchGridView_DataBound" Width="100%"
                                                        TabIndex="5" ShowHeader="True" EmptyDataText="No Records Available">
                                                        <Columns>
                                                            <asp:CommandField ShowSelectButton="True" meta:resourcekey="CommandFieldResource1">
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                            </asp:CommandField>
                                                            <asp:BoundField HeaderText="Organization Name" DataField="OrgName" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="15%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="User Name" DataField="LoginTitle" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="15%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Display Name" DataField="DisplayTitle" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="10%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Role" DataField="RoleName" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="10%" />
                                                            </asp:BoundField>
                                                            <%--                                                                    <asp:TemplateField HeaderText="Type" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Left">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="UserTypeLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"UserSourceTypeId").ToString().ToUpper()=="95"?"Employee":"Student" %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>--%>
                                                            <asp:BoundField HeaderText="Type" DataField="UserSourceTypeName" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="10%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="ID No / Code" DataField="EmployeeCode" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="10%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Name" DataField="UserFullName" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="20%" />
                                                            </asp:BoundField>
                                                            <asp:TemplateField HeaderText="User Permission" ItemStyle-Width="5%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="UserPermissionLabel" runat="server" CssClass="boxEllips" Text='<%# Bind("UserPermission") %>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField HeaderText="InActive" DataField="ObsoleteDisplay" HeaderStyle-HorizontalAlign="Left">
                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                            </asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>

                                                <div id="Div7" runat="server" class="table-responsive" visible="false">
                                                    <asp:GridView ID="DeletedUserSearchGridView" runat="server" AutoGenerateColumns="False"
                                                        CssClass="table table-striped table-bordered table-hover" DataKeyNames=""
                                                        AllowPaging="false" Width="100%" TabIndex="5" ShowHeader="True" EmptyDataText="No Records Available">
                                                        <Columns>
                                                            <asp:BoundField HeaderText="User Name" DataField="LoginTitle" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="15%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Display Name" DataField="DisplayTitle" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="10%" />
                                                            </asp:BoundField>
                                                            <asp:BoundField HeaderText="Type" DataField="UserSourceTypeName" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemStyle Width="10%" />
                                                            </asp:BoundField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <%-- </div>--%>
                            </asp:Panel>
                        </div>
                        <!-- Sub Container2 Box Ends -->
                        <!-- Sub Container1 Box Start -->
                        <div class="himssuHeader1WireBox card card-box" runat="server" id="DetailDiv" visible="false">
                            <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="UserDetailsLabel" runat="server" Text="Maintenance" meta:resourcekey="UserDetailsLabelResource1"></asp:Label>
                                        </header>
                                    </div>
                                    <div id="Div1" class="fRight" style="margin-top: -12px; padding-right: 10px" runat="server"
                                        visible="False">
                                        <asp:LinkButton ID="AssignRoleLinkButton" runat="server" Text="Assign Roles" CssClass="linkButtonBlue"
                                            meta:resourcekey="AssignRoleLinkButtonResource1"></asp:LinkButton>
                                    </div>
                                </div>
                                <div class="fRight mt-27 pagination display-flex ">
                                    <%--<asp:ImageButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                        runat="server" ImageUrl="~/Images/arrowLlast.gif" OnClick="FirstRecordImageButton_Click" />
                                    <asp:ImageButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                        runat="server" ImageUrl="~/Images/arrowLeft.gif" OnClick="PreviousImageButton_Click" />
                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                    <asp:Label ID="TotalRecord" runat="server" />
                                    <asp:ImageButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                        runat="server" ImageUrl="~/Images/arrowRight.gif" OnClick="NextImageButton_Click" />
                                    <asp:ImageButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                        runat="server" ImageUrl="~/Images/arrowRLast.gif" OnClick="LastRecordImageButton_Click" />
                                    <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                        CssClass="BackButton" Text="Back" />--%>
                                    <table>
                                        <tr>
                                            <td class="formLabel">
                                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                        runat="server" CommandName="Page" CommandArgument="First"
                                                        OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-fast-backward"></i>
                                                    </asp:LinkButton>
                                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                        runat="server" CommandName="Page" CommandArgument="Prev"
                                                        OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-play fa-rotate-180"></i>

                                                    </asp:LinkButton>
                                                    &nbsp;
                                                <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                    <asp:Label ID="TotalRecord" runat="server" />
                                                    &nbsp;
                                                <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                    runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Next"
                                                    OnClick="NextImageButton_Click">
                                                     <i class="fa fa-play"></i>
                                                </asp:LinkButton>

                                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                        runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last"
                                                        OnClick="LastRecordImageButton_Click">
                                                      <i class="fa fa-fast-forward"></i>
                                                    </asp:LinkButton>
                                                    &nbsp;  &nbsp; &nbsp;
                                                </div>
                                            </td>
                                            <td>
                                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="himsBoxContent">
                                <div class="contentHolder">
                                    <%--<table>
                                                    <tr>
                                                        <td>
                                                            <asp:RadioButton ID="EmployeeRadioButton" runat="server" GroupName="S1" Checked="true"
                                                                AutoPostBack="true" OnCheckedChanged="EmployeeRadioButton_CheckedChanged" />
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="EmployeeLable" runat="server" Text="Employee" Font-Bold="true"></asp:Label>
                                                        </td>
                                                        <td>
                                                            <asp:RadioButton ID="StudentRadioButton" runat="server" GroupName="S1" Visible="false"
                                                                AutoPostBack="true" OnCheckedChanged="StudentRadioButton_CheckedChanged" />
                                                        </td>
                                                        <td>
                                                            <asp:Label ID="StudentLabel" runat="server" Text="Student" Font-Bold="true" Visible="false"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>--%>
                                    <div class="fLeft">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="OrganizationLabel" Text="Organization" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="col-md-12 bg-lghtgrey radiobtn">
                                            <div class="controlLabelWidth">
                                                <asp:RadioButtonList ID="SourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                    OnSelectedIndexChanged="SourceTypeRadioButtonList_OnSelectedIndexChanged" AutoPostBack="true">
                                                    <asp:ListItem Text="Other" Value="1" Selected="True"></asp:ListItem>
                                                    <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                    <asp:ListItem Text="Student" Value="2003"></asp:ListItem>
                                                </asp:RadioButtonList>
                                                <asp:HiddenField runat="server" ID="SourceIdHiddenFiled" />
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" id="EmployeeSearchPanel" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label7" runat="server" Text="Employee Name" SkinID="MandatoryLabel"
                                                    meta:resourcekey="Label7Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5 display-flex">
                                                <asp:TextBox ID="EmployeeNameTextBox" runat="server" TabIndex="6" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                <%--<acc:AutoCompleteControl ID="EmployeeNameTextBox" runat="server" MinimumPrefixLength="2"
                                                                MaxLength="10" ContextKey="Common.EmployeeWithAllUser" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                Width="150px" FirstRowSelected="true" TabIndex="6" IsCacheEnabled="false" />--%>
                                                <asp:ImageButton ID="EmployeeNameSearchButton" ToolTip="Employee Search" runat="server"
                                                    OnClick="EmployeeNameSearchButton_Click" Style="width: 14px" TabIndex="7" SkinID="FindImage"
                                                    meta:resourcekey="EmployeeNameSearchButtonResource1" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" visible="false" id="StudentSearchPanel" runat="server">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="StudentNameLabel" runat="server" Text="Student Name" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5 display-flex">
                                                <asp:TextBox ID="StudentNameTextBox" runat="server" TabIndex="7" SkinID="CustomWidthTextBox"></asp:TextBox>
                                                <%--<acc:AutoCompleteControl ID="StudentNameTextBox" runat="server" MinimumPrefixLength="2"
                                                                MaxLength="10" ContextKey="Common.StudentWithAllUser" AutoPostBack="true" DisplayLoadingStatus="true"
                                                                Width="150px" FirstRowSelected="true" TabIndex="7" IsCacheEnabled="false" />--%>
                                                <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentNameImageButton"
                                                    runat="server" />
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LoginNameLabel" runat="server" Text="User Name" SkinID="MandatoryLabel"
                                                    meta:resourcekey="Label2Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="LoginNameTextBox" runat="server" TabIndex="8" SkinID="CustomWidthTextBox"
                                                    meta:resourcekey="LoginNameTextBoxResource1"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="DisplayNameLabel" runat="server" Text="Display Name" SkinID="MandatoryLabel"
                                                    meta:resourcekey="Label3Resource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="DisplayNameTextBox" runat="server" TabIndex="9" SkinID="CustomWidthTextBox"
                                                    meta:resourcekey="DisplayNameTextBoxResource1"></asp:TextBox>
                                                <asp:HiddenField ID="UserIDHiddenField" runat="server"></asp:HiddenField>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" runat="server" id="RoleDiv" visible="false">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="UserRoleLabel" Text="User Role" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="UserRoleDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <!-- UserProfile - Electronic Signature Start-->
                                        <div id="Div2" class="outerBox pTop5 col-md-3" runat="server" visible="False">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ElectronicSignatureLabel" runat="server" Text="Electronic Signature"
                                                    Visible="False" meta:resourcekey="ElectronicSignatureLabelResource1"></asp:Label>
                                            </div>
                                            <div id="Div3" class="fLeft pRight5" runat="server" visible="False">
                                                <asp:Image ID="ElectronicSignatureImage" runat="server" AlternateText="No Signature"
                                                    Height="25px" Width="120px" Visible="False" meta:resourcekey="ElectronicSignatureImageResource1" />
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div id="Div4" class="outerBox pTop5 col-md-3" runat="server" visible="False">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ESuploadLabel" runat="server" Text="Select Signature" Visible="False"
                                                    meta:resourcekey="ESuploadLabelResource1" />
                                            </div>
                                            <div id="Div5" class="fLeft pRight5" runat="server" visible="False">
                                                <asp:FileUpload ID="ESFileBrowser" runat="server" Visible="False" meta:resourcekey="ESFileBrowserResource1" />
                                                <asp:Button ID="ShowESButton" runat="server" Text="Show" OnClick="ShowESButton_Click"
                                                    TabIndex="11" Visible="False" meta:resourcekey="ShowESButtonResource1" />
                                                <asp:Label ID="ShowMessageLabel" runat="server" Text="Click on Show button before Save button to save the signature"
                                                    Visible="False" meta:resourcekey="ShowMessageLabelResource1" />
                                            </div>
                                        </div>
                                        <!-- UserProfile - Electronic Signature End-->
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <%--  <div class="fLeft">
                                                <asp:CheckBox ID="IsObseleteCheckBox" runat="server" TabIndex="10" meta:resourcekey="IsObseleteCheckBoxResource1"></asp:CheckBox>
                                            </div>
                                            <div class="fLeft pLeft5 pTop5">
                                                <asp:Label ID="IsObseleteLabel" runat="server" Text="InActive" meta:resourcekey="IsObseleteLabelResource1"></asp:Label>
                                            </div>--%>
                                            <div class="controlLabelWidth ">
                                                <asp:Label CssClass="rt-chkbox rt-chkbox-outline" runat="server" AssociatedControlID="IsObseleteCheckBox" ID="IsObseleteLabel">
                                                    <asp:CheckBox ID="IsObseleteCheckBox" runat="server" />
                                                    <span></span>
                                                    InActive
                                                </asp:Label>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <%-- <div class="fLeft">
                                                <asp:CheckBox ID="ResetPasswordCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ResetPasswordCheckBox_CheckedChanged"
                                                    TabIndex="11" meta:resourcekey="ResetPasswordCheckBoxResource1"></asp:CheckBox>
                                            </div>
                                            <div class="fLeft pLeft5 pTop5">
                                                <asp:Label ID="ResetPasswordLabel" runat="server" Text="Reset Password" meta:resourcekey="ResetPasswordLabelResource1"></asp:Label>
                                            </div>--%>
                                            <div class="controlLabelWidth ">
                                                <asp:Label CssClass="rt-chkbox rt-chkbox-outline" runat="server" AssociatedControlID="ResetPasswordCheckBox" ID="ResetPasswordLabel">
                                                    <asp:CheckBox ID="ResetPasswordCheckBox" runat="server" AutoPostBack="True" OnCheckedChanged="ResetPasswordCheckBox_CheckedChanged" TabIndex="11" />
                                                    <span></span>
                                                    Reset Password
                                                </asp:Label>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3" runat="server" id="newpassdiv">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="NewPasswordLabel" runat="server" Text="New Password" SkinID="MandatoryLabel"
                                                    meta:resourcekey="NewPasswordLabelResource1"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="NewPasswordTextBox" runat="server" TextMode="Password" MaxLength="20"
                                                    TabIndex="12" SkinID="CustomWidthTextBox"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3" runat="server" id="Confirmpassdiv">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ConfirmPasswordLabel" runat="server" Text="Confirm Password" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ConfirmPasswordTextBox" runat="server" TextMode="Password" MaxLength="20"
                                                    onpaste="return false;" TabIndex="13" SkinID="CustomWidthTextBox"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div id="ValidUptoDiv" runat="server" visible="false">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ValidUptoDateLabel" runat="server" Text="Valid Upto Date"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="ValidUptoDatePicker" runat="server" />
                                                </div>
                                            </div>

                                        </div>
                                        <div id="SecurityPolicyDiv" runat="server" visible="false">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TimePolicyLabel" Text="Time Policy" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="TimePolicyDropDownList" 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="IpPolicyLabel" Text="IP Policy" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="IpPolicyDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-md-12" runat="server" id="StrongPasswordDiv" visible="false">
                                        <div class="alert-info">
                                            <b>The password must be at least eight characters long and include at least one uppercase letter, one lowercase letter, one number, and one special character.</b>
                                        </div>
                                    </div>
                                    <div class="fLeft" runat="server" id="RoleListBoxDiv" visible="false">
                                        <table>
                                            <tr>
                                                <td></td>
                                                <td>
                                                    <asp:Label ID="AvailableLabel" runat="server" Text="Available roles" meta:resourcekey="AvailableLabelResource1"></asp:Label>
                                                </td>
                                                <td></td>
                                                <td>
                                                    <asp:Label ID="SelectedLabel" runat="server" Text="Selected role(s)" meta:resourcekey="SelectedLabelResource1"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td rowspan="2"></td>
                                                <td rowspan="2">
                                                    <asp:ListBox ID="AvailableListBox" DataTextField="Title" DataValueField="ID" runat="server"
                                                        SelectionMode="Multiple" Height="180px" Width="150px" TabIndex="14" meta:resourcekey="AvailableListBoxResource1"></asp:ListBox>
                                                    <asp:HiddenField ID="SelectedIDHiddenField" runat="server" />
                                                </td>
                                                <td>&nbsp;<asp:Button ID="AddButton" runat="server" Text="&gt;" TabIndex="15" meta:resourcekey="AddButtonResource1" />
                                                </td>
                                                <td rowspan="2">
                                                    <asp:ListBox ID="SelectedListBox" runat="server" SelectionMode="Multiple" Height="180px"
                                                        Width="150px" TabIndex="17" meta:resourcekey="SelectedListBoxResource1"></asp:ListBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;<asp:Button ID="RemoveButton" runat="server" Text="&lt;" TabIndex="16" meta:resourcekey="RemoveButtonResource1" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                    <div class="cBoth">
                                    </div>
                                </div>
                            </div>
                            <!-- Sub Container1 Box Ends -->
                        </div>
                    </div>

                </div>
                <div class="spacer">
                    <img src="../../../Images/spacer.gif" />
                </div>
            </ContentTemplate>
            <Triggers>
                <asp:PostBackTrigger ControlID="ShowESButton" />
            </Triggers>
        </asp:UpdatePanel>
    </div>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/create-user-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/create-user")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
