<%@ page language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_EExam_DataSubjectMaster, App_Web_w11bir2s" title="Data Subject Master" 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/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/EExam/DataBankDetail.ascx" TagName="DataBankDetailControl" TagPrefix="DB" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="145"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <DB:DataBankDetailControl ID="DataBankDetailUserControl" runat="server" Visible="true" />
                    <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="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27 pagination">
                                        <asp:Button ID="AddNewButtonID" runat="server" OnClick="AddNewButton_Click" Text="&#xf067; Add" SkinID="0" CssClass="btn btn-add fas" />
                                    </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="100"></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 pTop15 pb5">
                                            <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                            <asp:Button ID="ResetButton" runat="server" OnClick="ResetButton_Click" Text="&#xf0e2; Reset" SkinID="0" CssClass="btn-reset btn fas" />
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox  box-body box-solid gridviewfont" runat="server" style="width: 99%; margin-right: 5px;">
                                        <div id="ReasonMasterDetailDiv" visible="false" runat="server">
                                            <div class="spacer">
                                                <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                            </div>
                                            <div class="himsBoxHeader" id="PatientRelationDiv" visible="false" runat="server">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <div class="fRight mt-27 pagination display-flex ">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent card-body">
                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                            <asp:GridView ID="DataSubjectMasterGridView" runat="server" Width="100%" CssClass="table table-striped table-bordered table-hover" AutoGenerateColumns="False"
                                                                OnRowDataBound="DataSubjectMasterGridView_RowDataBound" OnPageIndexChanging="DataSubjectMasterGridView_PageIndexChanging"
                                                                SkinID="" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No records Found!!!"
                                                                DataKeyNames="DataSubjectId">
                                                                <Columns>
                                                                    <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:TemplateField HeaderText="Code" ItemStyle-Width="15%" 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="15%" 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="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="MasterHeaderLabel" runat="server" Text="Data Subject 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" Text="&#xf30a; Back" SkinID="0" CssClass="btn btn-back fas" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <cc1:TabContainer Width="100%" ID="DataSubjectTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                     AutoPostBack="true"  meta:resourcekey="DataSubjectTabContainerResource1" ActiveTabIndex="0" OnActiveTabChanged="DataSubjectTabContainer_ActiveTabChanged">

                                <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;Data Subject Add</a></li>
                                        </ul>

                                    </HeaderTemplate>
                                     <ContentTemplate>
                                        <div class="contentHolder">
                                            <asp:Panel ID="AddPanel" runat="server" meta:resourcekey="AddPanelResource1">
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="NumberLabel" runat="server" Text="Number"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="NumberTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                runat="server" MaxLength="100" AutoPostBack="false" SkinID="CustomWidthTextbox"
                                                                onblur="return fnonTextChangeNameField(this)" onkeypress="return NumberOnly()"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <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="100" AutoPostBack="false" SkinID="CustomWidthTextbox"
                                                                onblur="return fnonTextChangeNameField(this)"></asp:TextBox>
                                                        </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>
                                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                                        </div>
                                                    </div>
                                                <asp:HiddenField ID="ActiveTabHiddenField" runat="server" />
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="OrderIndexLabel" runat="server" Text="Order"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="OrderIndexTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                runat="server" MaxLength="100" AutoPostBack="false" SkinID="CustomWidthTextbox"
                                                                onblur="return fnonTextChangeNameField(this)" onkeypress="return NumberOnly()"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="outerBox pTop5 col-md-3">
                                                        <div class="controlLabelWidth">
                                                            <asp:CheckBox ID="IsObsoleteCheckBox" runat="server" />
                                                            <asp:Label ID="IsObsoleteLabel" runat="server" Text="InActive" AssociatedControlID="IsObsoleteCheckBox"></asp:Label>
                                                        </div>
                                                    </div>
                                                     <div class="cBoth"></div>
                                                       <%-- <div Class="outerBox" id="ImportFromExcelDiv" runat="server">
                                                          <div class="outerBox pTop5 col-md-2">
                                                            <div class="controlLabelWidth">
                                                                <asp:HyperLink ID="ImportHyperLink" runat="server" Text="Download Template" NavigateUrl="~/ContentTemplates/Import/DataSubject_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                                                            </div>
                                                          </div>
                                                        <div class="outerBox pTop5 col-md-2">
                                                            <div class="controlLabelWidth">
                                                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser" id="Browse" runat="server">
                                                                    <i class="fa fa-arrow-down"></i>Browse</a>
                                                                <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" AllowMultiple="true" />

                                                            </div>
                                                        </div>
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label2" runat="server" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                        </div>
                                                        <div class="alignCenter col-md-12 pTop15 pb5">
                                                            <asp:Button ID="ImportButton" runat="server" Text="&#xf019; Import" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ImportButton_OnClick"/>
                                                        </div>
                                                    </div>
                            
                                                        <div id="ExportMasterGridManditoryDiv" runat="server" >

                                                            <div class="himssuHeader6WireBox col-md-12">
                                                                  
                                                                <div class="himsBoxContent">
                                                                    <div id="Div3" runat="server" class="table-responsive">
                                                                                <asp:GridView ID="ExportDataGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                    EmptyDataText="No records found" 
                                                                                    AllowPaging="false" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                                    CssClass="table table-striped table-bordered table-hover" >
                                                                                    <Columns>
                                                                                       <asp:TemplateField HeaderText="Number" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="NumberLabel" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("Number")%>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                <asp:Label ID="CodeLabel" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("Code")%>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                  
                                                                                        <asp:TemplateField HeaderText="Title" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                 <asp:Label ID="TitleLabel" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("Title")%>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Order" ItemStyle-Wrap="true"
                                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                                            <ItemTemplate>
                                                                                                 <asp:Label ID="OrderLabel" runat="server" CssClass="boxEllips"
                                                                                                        Text='<%#Bind("Order")%>'></asp:Label>
                                                                                            </ItemTemplate>
                                                                                        </asp:TemplateField>
                                                                 
                                                                                    </Columns>
                                                                                </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                     </div>--%>
                                            </asp:Panel>
                                        </div>
                                    </ContentTemplate>
                                </cc1:TabPanel>
                                    
                                    <cc1:TabPanel Width="100%" ID="CopySubjectTabPanel"  runat="server" Visible="true"
                                        HeaderText="Assign To">
                                        <HeaderTemplate>
                                            <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                <li class="fancyTab"><a><i class="fas fa-tasks"></i>&nbsp;Copy Subject</a></li>
                                            </ul>
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                           
                                            <asp:Panel ID="Panel2" runat="server" meta:resourcekey="AddPanelResource1">
                                                  &nbsp;
                                                     &nbsp;
                                                 <div class="contentHolder">
                                                     <div id="GridViewMessageDiv" class="himsBoxContentMsg" runat="server" visible="False">
                                                     </div>
                                                     &nbsp;
                                                     &nbsp;
                                                     &nbsp;
                                                     &nbsp;
                                                      <div class="pRight5 fRight">
                                            <asp:Button ID="AddButton" runat="server" OnClick="AddButton_Click"
                                            Text="&#xf067; Add" SkinID="0" CssClass="btn btn-add fas" />
                                        &nbsp;&nbsp;&nbsp;
                                        </div>
                                                     <div id="Div2" class="himssuHeader6WireBox col-md-12" runat="server" visible="true" style="width: 100%; height: 100%">
                                                   <%-- <div id="Div2" runat="server" visible="true" class="table-responsive">--%>
                                                       <asp:GridView ID="SubjectMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False" CssClass="table table-striped table-bordered table-hover"
                                                         OnPageIndexChanging="SubjectMasterGridView_PageIndexChanging"  
                                                        AllowPaging="false" PageSize="5" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                        DataKeyNames="Id">
                                                            <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="5%" />
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="IsSelectCheckBox" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                                <%--<asp:BoundField DataField="Code" HeaderText="Code" ItemStyle-Width="25%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                                 <asp:TemplateField HeaderText="Code" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("Title") %>'
                                                                            runat="server" Text='<%# Bind("Code") %>' Width="100%"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Title" ItemStyle-Width="50%" HeaderStyle-HorizontalAlign="Left"
                                                                    ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="TitleLabel" CssClass="boxEllips" ToolTip='<%# Bind("Title") %>'
                                                                            runat="server" Text='<%# Bind("Title") %>' Width="100%"></asp:Label>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                
                                                            </Columns>
                                                        </asp:GridView>
                                                   <%-- </div>--%>
                                                         </div>
                                                     </div>
                                            </asp:Panel>
                                         
                                        </ContentTemplate>
                                            </cc1:TabPanel>
                                    <cc1:TabPanel Width="100%" ID="ImportDataSubjectTabPanel" ClientIDMode="Static" runat="server" Visible="true"
                                        HeaderText="Assign To">
                                        <HeaderTemplate>
                                            <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                <li class="fancyTab"><a><i class="fas fa-tasks"></i>&nbsp;Import Data Subject</a></li>
                                            </ul>
                                        </HeaderTemplate>
                                        <ContentTemplate>
                                           
                                            <asp:Panel ID="Panel3" runat="server" meta:resourcekey="AddPanelResource1">
                                                   <div Class="outerBox" id="ImportFromExcelDiv" runat="server">
                                                          <div class="outerBox pTop5 col-md-2">
                                                            <div class="controlLabelWidth">
                                                                <asp:HyperLink ID="ImportHyperLink" runat="server" Text="Download Template" NavigateUrl="~/ContentTemplates/Import/DataSubject_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                                                            </div>
                                                          </div>
                                                        <div class="outerBox pTop5 col-md-2">
                                                            <div class="controlLabelWidth">
                                                                <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser" id="Browse" runat="server">
                                                                    <i class="fa fa-arrow-down"></i>Browse</a>
                                                                <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" AllowMultiple="true" />

                                                            </div>
                                                        </div>
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="Label2" runat="server" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                        </div>
                                                        <div class="alignCenter col-md-12 pTop15 pb5">
                                                            <asp:Button ID="ImportButton" runat="server" Text="&#xf019; Import" SkinID="0" CssClass="btn-examcommon btn fas" OnClick="ImportButton_OnClick"/>
                                                        </div>
                                                    </div>
                            
                                                        <div id="ExportMasterGridManditoryDiv" runat="server" >

                                                            <div class="himssuHeader6WireBox col-md-12">
                                                                  
                                                                <div class="himsBoxContent">
                                                                    <div id="Div3" runat="server" class="table-responsive">
                                                                        <asp:GridView ID="ExportDataGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                            EmptyDataText="No records found" 
                                                                            AllowPaging="false" SkinID="" ShowHeader="true" PagerSettings-Visible="false"
                                                                            CssClass="table table-striped table-bordered table-hover" >
                                                                            <Columns>
                                                                                <asp:TemplateField HeaderText="Number" ItemStyle-Wrap="true"
                                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="NumberLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Number")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Code" ItemStyle-Wrap="true"
                                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="CodeLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Code")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                  
                                                                                <asp:TemplateField HeaderText="Title" ItemStyle-Wrap="true"
                                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                            <asp:Label ID="TitleLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Title")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                                <asp:TemplateField HeaderText="Order" ItemStyle-Wrap="true"
                                                                                    HeaderStyle-HorizontalAlign="Left">
                                                                                    <ItemTemplate>
                                                                                            <asp:Label ID="OrderLabel" runat="server" CssClass="boxEllips"
                                                                                                Text='<%#Bind("Order")%>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                 
                                                                            </Columns>
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                     </div>
                                            </asp:Panel>
                                         
                                        </ContentTemplate>
                                            </cc1:TabPanel>
                              </cc1:TabContainer>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
   <%-- <script data-main="../../JavaScript/rjs/encrypt/data-subject-master-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/data-subject-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
 
</asp:Content>
