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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <div class="himssuHeader3WireBox">
                            <table>
                                <tr>
                                    <td>
                                        <div class="himsBoxContent">
                                            <div class="leftUlMenu">
                                                <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="164"
                                                    Visible="true" runat="server" />
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <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="fas 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>
                        <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="SearchNameLabel" Text="Title" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="alignCenter col-md-12 pTop5 pb5">
                                            <asp:Button ID="SearchButton" runat="server" Text="&#xf002; Search" OnClick="SearchButton_Click"
                                                SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click"
                                                meta:resourcekey="ClearButtonResource1" SkinID="0" CssClass="btn-reset btn fas" />
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12 pTop5 gridviewfont" runat="server">
                                        <div id="DigitalFormDiv" visible="false" runat="server">
                                            <div class="himsBoxHeader" id="CustomDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="fRight">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent table-responsive">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <asp:GridView ID="DigitalFormMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                OnRowDataBound="DigitalFormMasterGridView_RowDataBound" CssClass="table table-striped table-bordered"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records Found!!!"
                                                                DataKeyNames="Id">
                                                                <Columns>
                                                                    <asp:TemplateField ItemStyle-Width="10%" 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:TemplateField HeaderText="Code" ItemStyle-Width="20%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CodeLabel" runat="server" Text='<%# Bind("Code") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="Title" ItemStyle-Width="20%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="TitleLabel" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="CreatedBy" ItemStyle-Width="10%" SortExpression="CreatedBy" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CreatedByLabel" runat="server" Text='<%# Bind("CreatedBy") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="CreatedDateTime" ItemStyle-Width="10%" SortExpression="CreatedDateTime" HeaderStyle-HorizontalAlign="Left"
                                                                        ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="CreatedDateTimeLabel" runat="server" Text='<%# Bind("CreatedDateTime") %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                    <asp:TemplateField HeaderText="In Active" ItemStyle-Width="10%" SortExpression="IsObsolete"
                                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                        <ItemTemplate>
                                                                            <asp:Label ID="IsObsoleteLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>
                                                                </Columns>
                                                            </asp:GridView>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <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-cog"></i>
                                        <asp:Label ID="NewsDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">

                                <div id="NumberOfRecordDiv" runat="server" class="display-flex" 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>

                                    <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                    &nbsp;  
                                            <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                    &nbsp;   
                                            <asp:Label ID="ofLabel" Text="of" runat="server" />
                                    &nbsp;   
                                            <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>
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div class="tableContainer">
                                    <div class="contentHolder">
                                        <cc1:TabContainer Width="100%" ID="DigitalFormTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                            meta:resourcekey="LearningTabContainerResource1" ActiveTabIndex="0">
                                            <cc1:TabPanel Width="100%" ID="LearningDetails" runat="server" HeaderText="Circular">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-check-circle"></i>&nbsp;Digital Form Detail</a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <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 ID="CodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    runat="server" MaxLength="20" AutoPostBack="false" SkinID="CustomWidthTextbox"
                                                                    onblur="return fnonTextChangeNameField(this)"></asp:TextBox>
                                                                <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                                <asp:HiddenField ID="MaxRowHiddenField" 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"
                                                                    onblur="return fnonTextChangeNameField(this)"></asp:TextBox>

                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop15 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" Text="InActive" />
                                                                <asp:Label ID="IsObsoleteLabel" runat="server" Text="InActive" Style="display: none;"></asp:Label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="TabPanel1" ClientIDMode="Static" runat="server"
                                                HeaderText="Assign To">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-tasks"></i>&nbsp;Form Fields</a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div class="himssuHeader6WireBox col-md-6" id="Div3" runat="server">
                                                            <div class="himsBoxHeader card-head inner" id="Div4" runat="server" visible="True">
                                                                <div class="himsBoxTitle">
                                                                    <div class="gridHeaderText">
                                                                        <header>
                                                                            <asp:Label ID="Label1" Text="Available Fields"
                                                                                runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Div6" runat="server" class="pTop10">
                                                                <div class="outerBox pTop5 col-md-5">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="FieldTypeLabel" Text="Field Type" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="fLeft pRight5">
                                                                        <asp:DropDownList ID="FieldTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            SkinID="CustomWidthDropDownList" CssClass="form-control" AutoPostBack="true" OnSelectedIndexChanged="FieldTypeDropDownList_SelectedIndexChanged"
                                                                            onmouseenter="showHideTooltip()">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="pTop5 col-md">
                                                                    <div class="pull-right">
                                                                        <asp:Button ID="AddFinalFieldsButton" Text="&#xf067; Add" runat="server" SkinID="0" OnClick="AddFinalFieldsButton_Click"
                                                                            class="btn btn-add fas" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="Div7" class="himssuHeader6WireBox col-md-12" runat="server">
                                                                <div class="himsBoxHeader" id="Div8" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText ">
                                                                            <asp:Label ID="Label7" Text="&nbsp;" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent table-reponsive">
                                                                    <div id="Div9" class="himsBoxContentMsg" runat="server" visible="False">
                                                                    </div>
                                                                    <asp:GridView ID="AvailableFieldGridView" runat="server" AutoGenerateColumns="False"
                                                                        Width="100%" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                        DataKeyNames="Id,SubFunctionalityName">
                                                                        <Columns>
                                                                            <asp:TemplateField>
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsSelectCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="Field" HeaderText="Fields">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="90%" />
                                                                            </asp:BoundField>

                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-6 padd-0" id="Div11" runat="server">
                                                            <div id="Div12" class="himssuHeader6WireBox  col-md-12" runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="Div13" runat="server">
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText ">
                                                                            <div class="gridHeaderText">
                                                                                <header>
                                                                                    <asp:Label ID="Label8" Text="Final Fields" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent width-100 pTop5">
                                                                    <div class="outerBox pTop10  col-md-12">
                                                                        <div class="pull-right">
                                                                            <asp:Button ID="RemoveFieldButton" Text="&#xf00d; Remove" runat="server" OnClick="RemoveFieldButton_Click"
                                                                                SkinID="0" class="btn btn-delete fas" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="table-responsive pTop15">
                                                                        <asp:GridView ID="FinalFieldGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                            AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                                                            DataKeyNames="Id,SubFunctionalityName">
                                                                            <Columns>
                                                                                <asp:TemplateField>
                                                                                    <HeaderTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="HeaderIsSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </HeaderTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                    <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                                    <ItemTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="IsSelectCheckBox" runat="server" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="Field" HeaderText="Final Fields">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="90%" />
                                                                                </asp:BoundField>

                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="LearningScope" ClientIDMode="Static" runat="server"
                                                HeaderText="Assign To">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-tasks"></i>&nbsp;Assign To </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div class="himssuHeader6WireBox col-md-6" id="SelectionDiv" runat="server">
                                                            <div class="himsBoxHeader card-head inner" id="Div2" runat="server" visible="True">
                                                                <div class="himsBoxTitle">
                                                                    <div class="gridHeaderText">
                                                                        <header>
                                                                            <asp:Label ID="Label10" Text="Scope Selection"
                                                                                runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div id="MultipleDiv" runat="server" class="pTop10">
                                                                <div class="pTop5 col-md-12">
                                                                    <div class="pull-right">
                                                                        <asp:Button ID="AddToFinal" Text="&#xf067; Add" runat="server" SkinID="0" OnClick="AddToFinal_Click"
                                                                            class="btn btn-add fas" />
                                                                    </div>
                                                                </div>
                                                               <%-- <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ScopeOrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="">
                                                                        <asp:DropDownList ID="ScopeOrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            CssClass="form-control" OnSelectedIndexChanged="ScopeOrganizationDropDownList_OnSelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>--%>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ScopeDepartmentLabel" Text="Department" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="">
                                                                        <asp:DropDownList ID="ScopeDepartmentDropDownList" runat="server" onmouseleave="showHideTooltip()" AutoPostBack ="true"
                                                                            onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" OnSelectedIndexChanged="ScopeDepartmentDropDownList_OnSelectedIndexChanged"
                                                                            CssClass="form-control">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <%--<div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="ClassLabel" Text="Class" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="">
                                                                        <asp:DropDownList ID="ScopeClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            CssClass="form-control" OnSelectedIndexChanged="ScopeClassDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DivisionLabel" Text="Division" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="">
                                                                        <asp:DropDownList ID="ScopeDivisionDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            CssClass="form-control" OnSelectedIndexChanged="ScopeDivisionDropDownList_SelectedIndexChanged">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>--%>
                                                            </div>
                                                            <div id="SourceInitDiv" class="himssuHeader6WireBox col-md-12" runat="server"
                                                                visible="False">
                                                                <div class="himsBoxHeader" id="Div10" runat="server">
                                                                    <div class="leftdiv">
                                                                    </div>
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText ">
                                                                            <asp:Label ID="SourceInitGridViewLabel" Text="&nbsp;" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent table-reponsive">
                                                                    <div id="Div14" class="himsBoxContentMsg" runat="server" visible="False">
                                                                    </div>
                                                                    <asp:GridView ID="SourceInitGridView" runat="server" AutoGenerateColumns="False"
                                                                        Width="100%" CssClass="table table-striped table-bordered table-hover" EmptyDataText="No Records Found !!"
                                                                        DataKeyNames="SourceId,SourceTypeId,SourceType">
                                                                        <Columns>
                                                                            <asp:TemplateField>
                                                                                <HeaderTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="HeaderIsSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </HeaderTemplate>
                                                                                <HeaderStyle HorizontalAlign="Center" />
                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                <ItemTemplate>
                                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                                        <asp:CheckBox ID="IsSelectCheckBox" runat="server" />
                                                                                        <span></span>
                                                                                    </label>
                                                                                </ItemTemplate>
                                                                            </asp:TemplateField>
                                                                            <asp:BoundField DataField="Source">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="90%" />
                                                                            </asp:BoundField>

                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-6 padd-0" id="FinalSelectionDiv" runat="server">
                                                            <div id="Div15" class="himssuHeader6WireBox  col-md-12" runat="server">
                                                                <div class="himsBoxHeader card-head inner" id="Div16" runat="server">
                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText ">
                                                                            <div class="gridHeaderText">
                                                                                <header>
                                                                                    <asp:Label ID="Label11" Text="Source List" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent width-100 pTop5">
                                                                    <div class="outerBox pTop5  col-md-12">
                                                                        <div class="pull-right">
                                                                            <asp:Button ID="RemoveButton" Text="&#xf00d; Remove" runat="server" OnClick="RemoveButton_Click"
                                                                                SkinID="0" class="btn btn-delete fas" />
                                                                        </div>
                                                                    </div>
                                                                    <div class="table-responsive">
                                                                        <asp:GridView ID="SourceFinalGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                            AutoGenerateColumns="False" EmptyDataText="No Records Found !!"
                                                                            DataKeyNames="SourceId,SourceTypeId,SourceType">
                                                                            <Columns>

                                                                                <asp:TemplateField>
                                                                                    <HeaderTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="HeaderIsSelectCheckBox" onclick="CheckAll(this);" runat="server" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </HeaderTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                    <ItemStyle HorizontalAlign="Center" Width="10%" />
                                                                                    <ItemTemplate>
                                                                                        <label class="rt-chkbox rt-chkbox-outline">
                                                                                            <asp:CheckBox ID="IsSelectCheckBox" runat="server" />
                                                                                            <span></span>
                                                                                        </label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="OrgName" HeaderText="Org Name">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField DataField="DepartmentName" HeaderText="Department">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField DataField="SourceType" HeaderText="Source Type">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="10%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField DataField="Code" HeaderText="Code">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:TemplateField HeaderText="Roll No" SortExpression="RollNo" Visible ="false">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="RollNoLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"RollNo").ToString()=="0"?"": DataBinder.Eval(Container.DataItem,"RollNo").ToString() %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Center" />
                                                                                    <ItemStyle HorizontalAlign="Center" Width="10%" Wrap="True" />
                                                                                </asp:TemplateField>
                                                                                <asp:BoundField DataField="Source" HeaderText="Source">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="25%" />
                                                                                </asp:BoundField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>

                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>

                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/custom-tag-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/charge-receipt")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
