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

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

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <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>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl" ScreenGroupId="153"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <%--<div class="whiteboxpaddingleft row">--%>
                <div class="row whiteboxpaddingleft">
                    <!-- Sub Container2 Box Start -->
                    <%-- <div class="card card-box">
                        <div class="himssuHeader2WireBox">--%>
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fa fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </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 class="himsBoxHeader card-head">
                                <asp:Panel ID="Panel1" runat="server">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">

                                        <div class="headerText">
                                            <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                </header>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>--%>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">

                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchCodeLabel" Text="Code" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchCodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="20"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchTitleLabel" Text="Title" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchOrgGroupLabel" runat="server" Text="Organization Group"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchOrgGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label1" runat="server" Text="Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="StatusDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    <asp:ListItem Text="- ALL - " Value="0" />
                                                    <asp:ListItem Text="Active" Value="1" Selected="True" />
                                                    <asp:ListItem Text="InActive" Value="2" />
                                                </asp:DropDownList>
                                            </div>
                                        </div>


                                        <div class="alignCenter col-md-12 pb5 pTop5">
                                            <asp:Button ID="SearchButton" Text="&#xf002;  Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf12d; Clear" OnClick="ResetButton_Click" SkinID="0" CssClass="btn-clear btn fas" />
                                        </div>


                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">

                                            <div class="himsBoxHeader" id="PatientRelationDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <%--<div class="headerText">
                                                                    <div class="fLeft">
                                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="true" />
                                                                    </div>
                                                                </div>--%>
                                                    <div class="fRight pagination pb5">
                                                        <uc1:GridViewPager ID="OrganizationMasterGridView_GridViewPager" runat="server" OnFirstRecordClick="OrganizationMasterGridView_GridViewPager_FirstRecordClick"
                                                            OnLastRecordClick="OrganizationMasterGridView_GridViewPager_LastRecordClick" OnNextRecordClick="OrganizationMasterGridView_GridViewPager_NextRecordClick"
                                                            OnPrevRecordClick="OrganizationMasterGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="OrganizationMasterGridView_GridViewPager_TextBoxValueChange"
                                                            ParentGridView="OrganizationMasterGridView" />
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent width-100 pTop5 ">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <%-- <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                                        <asp:Table ID="OrganizationGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" CssClass="GridViewTableRow"
                                                >
                                            </asp:Table>--%>
                                                            <%--<asp:Table ID="OrganizationGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                                                BackColor="#E8E8E8" ForeColor="#000000" Width="100%" GridLines="Both">--%>
                                                            <%--<asp:TableRow Height="20px">
                                                                                    <asp:TableCell Text="" Width="5%" Font-Bold="true"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Code" Width="15%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Title" Width="15%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Display Title" Width="15%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Affiliation" Width="15%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Language" Width="15%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Institute Type" Width="15%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Institute Sub Type" Width="10%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                </asp:TableRow>--%>
                                                            <%--</asp:Table>--%>
                                                            <%--</div>--%>
                                                            <div id="Div2" visible="true" runat="server" class="table-responsive">
                                                                <asp:GridView ID="OrganizationMasterGridView" runat="server" AutoGenerateColumns="False"
                                                                    OnRowDataBound="OrganizationMasterGridView_RowDataBound" OnPageIndexChanging="OrganizationMasterGridView_PageIndexChanging"
                                                                    AllowPaging="true" PageSize="25" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                    DataKeyNames="Id" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No records Found !!!">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="ConfigureLinkButton" runat="server" CommandName="Select" OnClick="ConfigureLinkButton_Click"
                                                                                    Text="Configure" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                    Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:BoundField DataField="OrgGroupId" HeaderText="OrgGroup" ItemStyle-Width="5%" />
                                                                        <%--<asp:BoundField DataField="ExaminationDate" HeaderText="Date" dataformatstring="{0:dd/MM/yyyy}" ItemStyle-Width = "100px" />                                                      --%>
                                                                        <asp:BoundField DataField="Code" HeaderText="Code" HeaderStyle-HorizontalAlign="Left" ItemStyle-Width="8%" />
                                                                        <asp:TemplateField HeaderText="Title" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TitleLabel" CssClass="boxEllips" ToolTip='<%# Bind("Title") %>' runat="server"
                                                                                    Text='<%# Bind("Title") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Display Title" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DisplayTitleLabel" CssClass="boxEllips" ToolTip='<%# Bind("DisplayTitle") %>'
                                                                                    runat="server" Text='<%# Bind("DisplayTitle") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <%--<asp:BoundField DataField="Title" HeaderText="Title" ItemStyle-Width = "200px"/>
                                                                                                <asp:BoundField DataField="DisplayTitle" HeaderText="Display Title" ItemStyle-Width = "300px" />--%>
                                                                        <asp:BoundField DataField="AffiliationTitle" HeaderText="Affiliation" ItemStyle-Width="5%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:BoundField DataField="LanguageTitle" HeaderText="Language" ItemStyle-Width="5%"
                                                                            HeaderStyle-HorizontalAlign="Left" />
                                                                        <asp:TemplateField HeaderText="Status" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StatusLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Convert.ToBoolean(Eval("IsObsolete"))%>'
                                                                                    Text='<%#Convert.ToBoolean(Eval("IsObsolete"))%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <%-- <asp:BoundField DataField="InstituteTypeTitle" HeaderText="Institute Type" ItemStyle-Width = "100px" />
                                                                                    <asp:BoundField DataField="InstituteSubTypeTitle" HeaderText="Institute Sub Type" ItemStyle-Width = "100px" />--%>

                                                                        <%-- <asp:TemplateField HeaderText="Code" ItemStyle-Width="15%" SortExpression="Code"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="TitleLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Title" ItemStyle-Width="15%" SortExpression="Title"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ComapanyNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("Title") %>'
                                                                                                runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="InsuranceComapanyName" ItemStyle-Width="15%" SortExpression="InsuranceComapanyName"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="InsuranceComapanyNameLabel" CssClass="boxEllips" ToolTip='<%# Bind("InsuranceCompanyName") %>'
                                                                                                runat="server" Text='<%# Bind("InsuranceCompanyName") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="PolicyType" ItemStyle-Width="15%" SortExpression="PolicyType"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="PolicyTypeLabel" CssClass="boxEllips" ToolTip='<%# Bind("PolicyType") %>'
                                                                                                runat="server" Text='<%# Bind("PolicyType") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="NoOfLifeCovered" ItemStyle-Width="15%" SortExpression="NoOfLifeCovered"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NoOfLifeCoveredLabel" CssClass="boxEllips" ToolTip='<%# Bind("NoOfLifeCovered") %>'
                                                                                                runat="server" Text='<%# Bind("NoOfLifeCovered") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="OriginalPremium" ItemStyle-Width="15%" SortExpression="OriginalPremium"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="OriginalPremiumLabel" CssClass="boxEllips" ToolTip='<%# Bind("OriginalPremium") %>'
                                                                                                runat="server" Text='<%# Bind("OriginalPremium") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="InActive" ItemStyle-Width="10%" SortExpression="InActive"
                                                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="InActiveLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"InActive").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>--%>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>

                            <!-- Sub Container2 Box Ends -->
                            <!-- Sub Container1 Box Start -->
                        </div>
                        <%-- </div>--%>
                        <!-- Sub Container1 Box Ends -->

                    </div>
                    <%--<div class="himssuHeader1WireBox col-md-12">--%>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-users"></i>
                                        <asp:Label ID="ReasonMasterDetailLabel" runat="server" Text="Organization Master"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex ">
                                <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 card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <cc1:TabContainer Width="100%" ID="CreateOrganizationTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                        meta:resourcekey="LearningTabContainerResource1" ActiveTabIndex="0">
                                        <cc1:TabPanel Width="100%" ID="CreateOrganizationDetails" runat="server" HeaderText="OrganizationDetails">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-check-circle"></i>&nbsp;Organization Details</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CodeLabel" runat="server" Text="Code" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox runat="server" ID="CodeTextBox" SkinID="CustomWidthTextbox"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    MaxLength="4" onkeypress="return isNumberKey(this)"></asp:TextBox>
                                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="TitleLabel" runat="server" Text="Title" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="TitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    runat="server" MaxLength="100" AutoPostBack="false"
                                                                    SkinID="CustomWidthTextbox"></asp:TextBox>

                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="DisplayTitleLabel" runat="server" Text="Display Title" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="DisplayTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    runat="server" MaxLength="100" AutoPostBack="false"
                                                                    SkinID="CustomWidthTextbox"></asp:TextBox>

                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="AffiliationLabel" runat="server" Text="Affiliation" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="AffiliationDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="LanguageLabel" runat="server" Text="Language" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="LanguageDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="OrgGroupLabel" runat="server" Text="Organization Group" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="OrgGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>


                                                        <%--<div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromOrganizationLabel" runat="server" Text="From Organization"></asp:Label></div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="FromOrganizationDropDownList" SkinID="CustomWidthDropDownList"
                                                       CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>--%>
                                                        <%-- <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InstituteTypeLabel" runat="server" Text="Institute Type" SkinID="MandatoryLabel"></asp:Label></div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="InstituteTypeDropDownList" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                       CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="InstituteTypeDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>--%>
                                                        <%--<div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="InstituteSubTypeLabel" runat="server" Text="Institute Sub Type" SkinID="MandatoryLabel"></asp:Label></div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="InstituteSubTypeDropDownList" SkinID="CustomWidthDropDownList" 
                                                       CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" AutoPostBack="false">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>--%>
                                                        <%--<div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StreetOneLabel" runat="server" Text="Street One" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StreetOneTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="50" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StreetTwoLabel" runat="server" Text="Street Two" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StreetTwoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="50" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StreetThreeLabel" runat="server" Text="Street Three" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StreetThreeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="50" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                             <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CityLabel" runat="server" Text="City" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="CityTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StateLabel" runat="server" Text="State" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="StateTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CountryLabel" runat="server" Text="Country" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="CountryTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                              <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ZipCodeLabel" runat="server" Text="Zip Code" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="ZipCodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="20" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="HomePageLabel" runat="server" Text="Home Page" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="HomePageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="PhoneNoLabel" runat="server" Text="Phone Number" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="PhoneNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="50" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                             <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FaxNoLabel" runat="server" Text="Fax Number" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="FaxNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SmallAddress1Label" runat="server" Text="Small Address1" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SmallAddress1TextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SmallAddress2Label" runat="server" Text="Small Address2" ></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SmallAddress2TextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                         runat="server" MaxLength="100" AutoPostBack="false" 
                                                        SkinID="CustomWidthTextbox" ></asp:TextBox>
                                                    
                                                </div>
                                            </div>--%>

                                                        <div class="outerBox11 col-md-3 pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="TermPatternLabel" runat="server" Text="Term Pattern" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="TermPatternDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="OrderIndexLabel" runat="server" Text="Order Index"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <%--<cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender2" runat="server" TargetControlID="AdditionPremiumTextBox"
                                                        FilterType="Numbers" Enabled="True">
                                                    </cc1:FilteredTextBoxExtender>--%>
                                                                <asp:TextBox ID="OrderIndexTextBox" onkeypress="return isNumberKey(event)" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextbox" runat="server"
                                                                    MaxLength="9"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3" id="InActiveDiv" runat="server" visible="false">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="InActiveCheckBox" runat="server" Text="InActive" />
                                                                <%--<asp:Label ID="InActiveLabel" runat="server" Text="InActive"></asp:Label>--%>
                                                            </div>
                                                        </div>

                                                    </asp:Panel>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                        <cc1:TabPanel Width="100%" ID="TabPanel1" runat="server" HeaderText="OrganizationDetails">
                                            <HeaderTemplate>
                                                <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                    <li class="fancyTab"><a><i class="fas fa-check-circle"></i>&nbsp;Add Organization Bulk</a></li>
                                                </ul>
                                            </HeaderTemplate>
                                            <ContentTemplate>
                                                <div class="contentHolder">
                                                    <asp:Panel ID="Panel2" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="BulkOrganizationGroupLabel" runat="server" Text="Organization Group" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="BulkOrgGroupDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="BulkAffiliationLabel" runat="server" Text="Affiliation" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="BulkAffiliationDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox11 col-md-3 pTop5">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="BulkTermPatternLabel" runat="server" Text="Term Pattern" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:DropDownList runat="server" ID="BulkTermPatternDropDownList" SkinID="CustomWidthDropDownList"
                                                                    CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="cBoth"></div>
                                                        <div class="pull-right col-md-3 display-flex">
                                                            <asp:TextBox ID="ApplyTextBox" runat="server" ClientIDMode="Static" onkeypress="return isNumberKey(event);"
                                                                SkinID="CustomWidthTextBox" CssClass="pTop5"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;
                                                            <asp:Button ID="ApplyButton" Text="Apply" runat="Server" OnClick="ApplyButton_Click" SkinID="0" CssClass="btn btn-apply mt-10" />
                                                        </div>
                                                        <asp:UpdatePanel runat="server" ID="upanel1" UpdateMode="Conditional">
                                                            <ContentTemplate>
                                                                <div id="Div22" class="himssuHeader6WireBox pTop15  col-md-12" runat="server">
                                                                    <div class="himsBoxContent table-responsive">
                                                                        <asp:GridView ID="BulkDataGridView" runat="server" AutoGenerateColumns="False"
                                                                            EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover">
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Code">
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox ID="CodeTextBox" MaxLength="200" runat="server" Text='<%# Eval("Code") %>' SkinID="CustomWidthTextBox" onkeypress="return isNumberKey(this)" />
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="25%" Wrap="True" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Title">
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox ID="TitleTextBox" MaxLength="200" runat="server" Text='<%# Eval("Title") %>' SkinID="CustomWidthTextBox" />
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="25%" Wrap="True" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Display Title">
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox ID="DisplayTitleTextBox" MaxLength="200" runat="server" Text='<%# Eval("DisplayTitle")%>' SkinID="CustomWidthTextBox" />
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="25%" Wrap="True" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Order Index">
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox ID="OrderIndexTextBox" MaxLength="200" runat="server" Text='<%# Eval("OrderIndex")%>' SkinID="CustomWidthTextBox" onkeypress="return isNumberKey(this)" />
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="25%" Wrap="True" />
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField ShowHeader="true" HeaderText="Delete" HeaderStyle-HorizontalAlign="Center">
                                                                                    <ItemTemplate>
                                                                                        <asp:ImageButton SkinID="DeleteImage" ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_Click"
                                                                                            ToolTip="Delete" />
                                                                                    </ItemTemplate>
                                                                                    <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </ContentTemplate>
                                                        </asp:UpdatePanel>
                                                    </asp:Panel>
                                                </div>
                                            </ContentTemplate>
                                        </cc1:TabPanel>
                                    </cc1:TabContainer>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>

    </asp:UpdatePanel>
    <%--  <script data-main="../../../JavaScript/rjs/encrypt/createorganization-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/createorganization-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
