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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<%@ Register Src="~/UserControls/MessageBox/MessageBoxControl.ascx" TagName="MessageControl" TagPrefix="uc1" %>
<%@ Register Assembly="TimePicker" Namespace="MKB.TimePicker" TagPrefix="timePicker" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <%--    <link href="../../../App_Themes/responsiv-popup.css" rel="stylesheet" />--%>
    <%--   <div id="dvTestLoadingmsg" class="hls-wrap">
        <div class="hls-container">
            <div class="hls-content">
                <div class="dsh-syndicate white-popup" style="display: inline-block; width: 119%; height: 150px">
                    <div class="shippingcard" style="text-align: center; vertical-align: middle; width: 100%;">
                        <span id="spn1msg">Loading Details</span><br>
                        <span style="line-height: 2;" id="spn2msg"><b>Please Wait ...</b></span><br>
                        <span id="spnloadingimgOPD">
                            <img src="../../../Images/Loading1.gif" /></span>
                    </div>
                </div>
            </div>
        </div>
    </div>--%>
    <asp:UpdatePanel ID="CircularUpdatePanel" runat="server">
        <ContentTemplate>
            <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="157"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">

                                <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"
                                            class="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="SearchPanel" runat="Server">
                                <div class="contentHolder">

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchTitleLabel" Text="Name" runat="server"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="SearchTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchFromDateLabel" runat="server" Text="From Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="SearchFromDatePicker" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchToDateLabel" runat="server" Text="To Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="SearchToDatePicker" runat="server" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchAssigneeLabel" Text="Assignee" runat="server"></asp:Label>
                                        </div>
                                        <div class="">
                                            <asp:DropDownList ID="SearchAssigneeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="SearchCircularTypeLabel" Text="Circular Type" runat="server"></asp:Label>
                                        </div>
                                        <div class="">
                                            <asp:DropDownList ID="SearchCircularTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()" AutoPostBack="false" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control">
                                            </asp:DropDownList>
                                        </div>
                                    </div>
                                    <timePicker:TimeSelector ID="TimeSelector1" runat="server" Style="display: none" />
                                    <div class="alignCenter pTop5 col-md-12 center">
                                        <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="Server" OnClick="SearchButton_Click"
                                            SkinID="0" class="btn-search btn fas" />
                                        <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas" />
                                        <asp:Button ID="ExportButton" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" runat="Server" OnClick="ExportButton_Click" />
                                    </div>

                                    <div id="Div2" class="himssuHeader7WireBox col-md-12" runat="server">
                                        <div id="CircularListDetailDiv" runat="server" visible="false">

                                            <div class="himsBoxHeader card-head inner" id="CircularListDiv" runat="server" style="display: none" visible="false">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle" style="width: 99%">
                                                    <div class="fRight" style="margin-top: -3px;">
                                                    </div>
                                                </div>
                                                <%--<div class="gridHeaderText">
                                                                   
                                                                         <header>
                                                                        <asp:Label ID="GridViewLabel" Text="Circular List" runat="server" Font-Bold="true" />
                                                                             </header>
                                                                   
                                                                </div>--%>
                                            </div>
                                            <div class="himsBoxContent pTop5">
                                                <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                    <asp:GridView ID="CircularGridView" runat="server" AutoGenerateColumns="False"
                                                        CssClass="table table-striped table-bordered table-hover" ShowHeader="true" SkinID="" PagerSettings-Visible="false"
                                                        EmptyDataText="No Records Found !!" DataKeyNames="CircularId,StatusId,CreatedDateTime" OnRowDataBound="CircularGridView_RowDataBound"
                                                        OnPageIndexChanging="CircularGridView_PageIndexChanging">
                                                        <Columns>
                                                            <asp:TemplateField ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left" HeaderText="">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select" Text="Select"
                                                                        CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-Width="8%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left" HeaderText="">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="CloneLinkButton" runat="server" CommandName="Select" Text="Clone"
                                                                        CausesValidation="false" OnClick="CloneLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Title" HeaderText="Name" ItemStyle-Width="30%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Assignee" HeaderText="Assignee" ItemStyle-Width="5%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="PublishDateTime" HeaderText="Publish Date Time" DataFormatString="{0:dd/MM/yyyy hh:mm tt}"
                                                                ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="StartDate" HeaderText="Start Date" DataFormatString="{0:dd/MM/yyyy}"
                                                                ItemStyle-Width="5%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="CreatedUserName" HeaderText="Created User Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="CreatedDateTime" HeaderText="Created Date Time" DataFormatString="{0:dd/MM/yyyy hh:mm tt}"
                                                                ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" Visible="false" />
                                                            <asp:TemplateField HeaderText="Attachment" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="AttachmentLabel" runat="server" Text=''></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Status" ItemStyle-Width="5%" ItemStyle-Wrap="true"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="StatusLabel" runat="server" Text='<%#Eval("StatusId")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-Width="6%" HeaderText="View Status" ItemStyle-Wrap="true">
                                                                <ItemStyle HorizontalAlign="Center" />
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="ViewCircular" runat="server" CommandName="Select" Text="View"
                                                                        CausesValidation="false" OnClick="ViewCircular_Click" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Remark" ItemStyle-Width="5%" ItemStyle-Wrap="true" Visible="false"
                                                                HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="RemarkLabel" runat="server" Text='<%#Eval("Remark")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <%--<asp:BoundField DataField=" CreateDate" HeaderText="Created Date Time" ItemStyle-Width="70%" HeaderStyle-HorizontalAlign="Left" />--%>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </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" id="Div4" runat="server" visible="True">
                            <div class="himsBoxTitle">
                                <div class="headerText fLeft">
                                    <header>
                                        <i class="fas fa-cog"></i>
                                        <asp:Label ID="Label4" Text="Maintainance" runat="server" />
                                    </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" ImageUrl="~/Images/arrowLlast.gif" 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" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                    OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                </asp:LinkButton>
                                                &nbsp;&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;&nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                    OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                </asp:LinkButton>
                                            </div>
                                        </td>
                                        <td>&nbsp;&nbsp;<asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                            class="btn btn-back fas" Text="&#xf30a; Back" />
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <div class="tableContainer">
                                        <cc1:TabContainer Width="100%" ID="CircularTabContainer" runat="server" CssClass="ajax__myTab nav nav-tabs tabs-style-iconbox"
                                            meta:resourcekey="CircularTabContainerResource1" ActiveTabIndex="0">
                                            <cc1:TabPanel Width="100%" ID="CircularDetails" 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;Circular </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder pTop15">
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="TitleLabel" runat="server" Text="Name" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="TitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                                                <asp:HiddenField ID="DetailHiddenField" runat="server" />
                                                                <asp:HiddenField ID="GUIDHiddenField" runat="server" />
                                                                <asp:HiddenField ID="UserSourceTypeHiddenField" runat="server" />
                                                                <asp:HiddenField ID="UserSourceIdHiddenField" runat="server" />
                                                                <asp:HiddenField ID="DocumentNameHiddenField" runat="server" />
                                                                <asp:HiddenField ID="UploadConfigurationHiddenField" runat="server" />
                                                                <asp:HiddenField ID="CircularAttachmentSizeHiddenField" runat="server" />
                                                                <asp:HiddenField ID="CircularIdHiddenField" runat="server" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="StartDateLabel" runat="server" Text="Start Date" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="StartDatePickerControl" runat="server" />
                                                            </div>
                                                        </div>

                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="PublishDateLabel" runat="server" Text="Publish Date" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <Date:DatePickerControl DisplayDatePicker="true" ID="PublishDatePickerControl" runat="server" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="PublishTimeLabel" runat="server" Text="Publish Time" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <timePicker:TimeSelector ID="PublishTimeSelector" runat="server" DisplaySeconds="False"
                                                                    SelectedTimeFormat="Twelve" meta:resourcekey="ActivityStartTimeSelectorResource1" class="timepicker"
                                                                    AmPm="PM" Date="01/01/0001 12:00:00" Hour="0" Minute="0" Second="0" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="CircularTypeLabel" Text="Circular Type" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="">
                                                                <asp:DropDownList ID="CircularTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control" OnSelectedIndexChanged="CircularTypeDropDownList_OnSelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox pTop5 col-md-3">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="AssigneeLabel" Text="Assignee" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="">
                                                                <asp:DropDownList ID="AssigneeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                    onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                    OnSelectedIndexChanged="AssigneeDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                        <div class="outerBox10 pTop5 col-md-6">
                                                            <div class="controlLabelWidth">
                                                                <asp:Label ID="RemarkLabel" runat="server" Text="Remark" SkinID="MandatoryLabel"></asp:Label>
                                                            </div>
                                                            <div class="fLeft pRight5">
                                                                <asp:TextBox ID="RemarkTextBox" runat="server" onmouseleave="showHideTooltip()" SkinID="MultiLineTextBox"
                                                                    onmouseenter="showHideTooltip()" TextMode="MultiLine" Height="200px"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                        <div class="cBoth"></div>
                                                        <div class="outerBox11 pTop15 col-md-3" id="PublishInFutureDiv" runat="server">
                                                            <div class="fLeft">
                                                                <asp:CheckBox ID="PublishInFutureCheckBox" runat="server" Text="Publish In Future" />
                                                            </div>
                                                        </div>
                                                        <div class="outerBox11 pTop15 col-md-3">
                                                            <div class="fLeft">
                                                                <asp:CheckBox ID="FileAttachmentCheckBox" runat="server" Text="File Attachment" AutoPostBack="True" OnCheckedChanged="FileAttachmentCheckBox_CheckedChanged" />

                                                            </div>
                                                        </div>
                                                        <div class="outerBox11 pTop15 col-md-3">
                                                            <div class="fLeft">
                                                                <asp:CheckBox ID="StopAutoAlertCheckBox" runat="server" Text="Stop Auto Alert" />
                                                            </div>
                                                        </div>
                                                        <div id="ConsentDiv" runat="server" visible="true">
                                                            <div class="outerBox11 pTop15 col-md-3">
                                                                <div class="fLeft">
                                                                    <asp:CheckBox ID="IsConsentCheckBox" runat="server" Text="Is Consent" AutoPostBack="True" OnCheckedChanged="IsConsentCheckBox_CheckedChanged" />
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent col-md-12 pTop15" runat="server" id="CircularConsentDiv" visible="false">
                                                                <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div15" runat="server" class="table-responsive">
                                                                            <div class="himsBoxContent table-responsive">
                                                                                <asp:GridView ID="CircularConsentGridView" runat="server" AutoGenerateColumns="False" DataKeyNames="AnsFieldTypeId"
                                                                                    EmptyDataText="No Records Found !!" CssClass="table table-striped table-bordered table-hover"
                                                                                    OnRowDataBound="CircularConsentGridView_RowDataBound">
                                                                                    <Columns>
                                                                                        <asp:TemplateField HeaderText="Question Description">
                                                                                            <ItemTemplate>
                                                                                                <asp:TextBox ID="QuestionDescriptionTextBox" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("QuestionDescription") %>' />
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="30%" Wrap="True" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Ans Field Type">
                                                                                            <ItemTemplate>
                                                                                                <asp:DropDownList ID="AnsFieldTypeDropDownList" runat="server" class="form-control" OnSelectedIndexChanged="AnsFieldTypeDropDownList_SelectedIndexChanged" AutoPostBack="True" />
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="10%" Wrap="True" />
                                                                                        </asp:TemplateField>
                                                                                        <asp:TemplateField HeaderText="Ans Field List">
                                                                                            <ItemTemplate>
                                                                                                <asp:TextBox ID="AnsFieldListTextBox" runat="server" SkinID="CustomWidthTextBox" Text='<%# Bind("AnsFieldList") %>' />
                                                                                            </ItemTemplate>
                                                                                            <HeaderStyle HorizontalAlign="Left" />
                                                                                            <ItemStyle Width="20%" Wrap="True" />
                                                                                        </asp:TemplateField>
                                                                                    </Columns>
                                                                                    <PagerSettings Visible="False" />
                                                                                </asp:GridView>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </div>
                                                        <div id="FileUploaddiv" visible="False" runat="server">

                                                            <div class="alignCenter pTop5 col-md-12">
                                                                <div class="controlLabelWidth">
                                                                    <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                                        <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" />
                                                                    <asp:Button runat="server" ID="RefreshButton" Text=" Refresh" OnClick="RefreshButton_OnClick"
                                                                        SkinID="0" class="btn btn-refresh fas" />

                                                                </div>

                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="Label2" runat="server" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                                </div>
                                                            </div>
                                                            <div class="col-md-12">
                                                                <div class="alert alert-info ">
                                                                    <i class="material-icons">info</i>
                                                                    <asp:Label ID="Label6" Text=" | Click on refresh button to view current uploaded Files"
                                                                        runat="server" />
                                                                </div>
                                                            </div>
                                                            <div id="Div11" class="himssuHeader6WireBox col-md-12" runat="server">
                                                                <div id="UploadDiv" visible="False" runat="server">

                                                                    <div class="himsBoxHeader card-head inner" id="HeaderDiv" visible="False" runat="server">
                                                                        <div class="leftdiv">
                                                                        </div>
                                                                    </div>
                                                                    <div class="himsBoxContent width-100">
                                                                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                                                            <ContentTemplate>
                                                                                <div id="GridViewDiv" runat="server" visible="false" class="table-responsive">
                                                                                    <asp:GridView ID="FileGridView" runat="server" CssClass="table table-striped table-bordered table-hover"
                                                                                        AutoGenerateColumns="False" ShowHeader="true" PagerSettings-Visible="false" EmptyDataText="No Files Uploaded" OnRowDataBound="FileGridView_RowDataBound">
                                                                                        <Columns>
                                                                                            <asp:TemplateField HeaderText="File Name" ItemStyle-Width="90%" HeaderStyle-HorizontalAlign="Left"
                                                                                                ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="true">
                                                                                                <ItemTemplate>
                                                                                                    <asp:HyperLink ID="FileNameHyperLink" runat="server" Text='<%# Eval("FileName") %>'
                                                                                                        NavigateUrl='<%# Eval("FilePath") %>' Target="_blank"></asp:HyperLink>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                            <asp:TemplateField HeaderText="Delete" ItemStyle-Width="10%" HeaderStyle-HorizontalAlign="Center"
                                                                                                ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                                <ItemTemplate>
                                                                                                    <asp:ImageButton ID="DeleteImageButton" runat="server" OnClick="DeleteImageButton_OnClick"
                                                                                                        ImageUrl="~/Images/delete.png" ToolTip="Delete" />
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>
                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </ContentTemplate>
                                                                        </asp:UpdatePanel>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="CircularScope" 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="col-md-6 padd-0">

                                                            <div class="pTop5 col-md-12">
                                                                <div class="pull-right">
                                                                    <asp:Button ID="AddButton" Text="&#xf067; Add" runat="server" OnClick="AddButton_Click" SkinID="0"
                                                                        class="btn btn-add fas" />
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-6">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="sourceLabel" Text="Source" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="">
                                                                    <asp:DropDownList ID="SourceDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" OnSelectedIndexChanged="SourceDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox11 pTop5 col-md-12 pb15">
                                                                <%--  <div class="controlLabelWidth">
                                                                    <asp:Label ID="sourceLabel" Text="Source" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5 chck-dropdown-onclick circular bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0">
                                                                    <asp:DropDownList ID="SourceDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="true" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" OnSelectedIndexChanged="SourceDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>--%>

                                                                <div id="HouseDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <span class="pLeft9">
                                                                            <asp:CheckBox ID="AllHouseGroupCheckBox" Text="Select All House" runat="server" AutoPostBack="True"
                                                                                OnCheckedChanged="AllHouseGroupCheckBox_CheckedChanged" />
                                                                        </span>

                                                                        <asp:CheckBoxList ID="HouseGroupCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>

                                                                <%--<div class="fLeft pRight5">
                                                                <div class="select">
                                                                    <asp:CheckBox ID="ClubCheckBox" runat="server" Text="Clubwise" AutoPostBack="True"
                                                                        OnCheckedChanged="ClubCheckBox_CheckedChanged" />
                                                                </div>
                                                            </div>--%>

                                                                <div id="ClubDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <span class="pLeft9">
                                                                            <asp:CheckBox ID="AllClubCheckBox" Text="Select All Club" runat="server" AutoPostBack="True"
                                                                                OnCheckedChanged="AllClubCheckBox_CheckedChanged" />
                                                                        </span>

                                                                        <asp:CheckBoxList ID="ClubCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>
                                                                <div id="StudentGroupMasterDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <span class="pLeft9">
                                                                            <asp:CheckBox ID="AllStudentGroupMasterCheckBox" Text="All Student Group Master" runat="server" AutoPostBack="True"
                                                                                OnCheckedChanged="AllStudentGroupMasterCheckBox_CheckedChanged" />
                                                                        </span>

                                                                        <asp:CheckBoxList ID="StudentGroupMasterCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>
                                                                <div id="StudentOtherGroupMasterDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <span class="pLeft9">
                                                                            <asp:CheckBox ID="AllStudentOtherGroupMasterCheckBox" Text="All Student Other Group Master" runat="server" AutoPostBack="True"
                                                                                OnCheckedChanged="AllStudentOtherGroupMasterCheckBox_CheckedChanged" />
                                                                        </span>

                                                                        <asp:CheckBoxList ID="StudentOtherGroupMasterCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>
                                                                    </div>
                                                                </div>

                                                                <div id="CustomTagDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <span class="pLeft9">
                                                                            <asp:CheckBox ID="AllCustomTagCheckBox" Text="Select All Custom Tag" runat="server"
                                                                                AutoPostBack="True" OnCheckedChanged="AllCustomTagCheckBox_CheckedChanged" />
                                                                        </span>

                                                                        <asp:CheckBoxList ID="CustomTagCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>

                                                                    </div>
                                                                </div>
                                                                <div id="EmployeeHouseDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <%-- <span class="pLeft9">--%>
                                                                        <asp:CheckBox ID="HouseCheckBox" runat="server" AutoPostBack="True" Text="Select All House" OnCheckedChanged="HouseCheckBox_CheckedChanged" />
                                                                        <%--</span>--%>

                                                                        <asp:CheckBoxList ID="HouseCheckBoxList" runat="server"></asp:CheckBoxList>

                                                                    </div>
                                                                </div>
                                                                <div id="EmployeeClubDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <%--<span class="pLeft9">--%>
                                                                        <asp:CheckBox ID="ClubCheckBox" runat="server" AutoPostBack="True" Text="Select All Club" OnCheckedChanged="EmployeeClubCheckBox_CheckedChanged" />
                                                                        <%--</span>--%>
                                                                        <asp:CheckBoxList ID="EmployeeClubCheckBoxList" runat="server"></asp:CheckBoxList>
                                                                    </div>
                                                                </div>
                                                                <div id="EmployeeCommitteeDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <%-- <span class="pLeft9">--%>
                                                                        <asp:CheckBox ID="CommitteeCheckBox" runat="server" AutoPostBack="True" Text="Select All Committee" OnCheckedChanged="CommitteeCheckBox_CheckedChanged" />
                                                                        <%--</span>--%>
                                                                        <asp:CheckBoxList ID="CommitteeCheckBoxList" runat="server"></asp:CheckBoxList>
                                                                    </div>
                                                                </div>

                                                                <%--  <div class="fLeft pRight5">
                                                                <asp:CheckBox ID="CodeCheckBox" runat="server" Text="Id Nowise" AutoPostBack="True"
                                                                    OnCheckedChanged="CodeCheckBox_CheckedChanged" />
                                                            </div>--%>
                                                                <div id="CustomGroupDiv" runat="server" visible="False">
                                                                    <div class="fLeft pRight5 chck-dropdown-onclick bg-lghtgrey outerBox11 col-md-12 overflow-x-hidden padd-0" visible="false">
                                                                        <span class="pLeft9">
                                                                            <asp:CheckBox ID="AllCustomGroupCheckBox" Text="Select All Custom Group" runat="server"
                                                                                AutoPostBack="True" OnCheckedChanged="AllCustomGroupCheckBox_CheckedChanged" />
                                                                        </span>

                                                                        <asp:CheckBoxList ID="CustomGroupCheckBoxList" runat="server">
                                                                        </asp:CheckBoxList>

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


                                                            <%-- <div class="outerBox pTop5 col-md-3" style="width: 80%">
                                                                        <div class="fLeft pRight5" style="width: 80%">
                                                                            <asp:CheckBox ID="MultipleCheckBox" runat="server" Text="Organizationwise / Departmentwise / Classwise / Divisionwise / Studentwise / Employeewise"
                                                                                AutoPostBack="True" OnCheckedChanged="MultipleCheckBox_CheckedChanged" />
                                                                        </div>
                                                                    </div>--%>

                                                            <div id="MultipleDiv" runat="server" visible="False">
                                                                <div class="col-md-12 bg-lghtgrey radiobtn">

                                                                    <asp:RadioButtonList ID="SourceTypeRadioButtonList" runat="server" RepeatDirection="Horizontal"
                                                                        OnSelectedIndexChanged="SourceTypeRadioButtonList_OnSelectedIndexChanged" AutoPostBack="true">
                                                                        <asp:ListItem Text="Student" Value="2003" Selected="True"></asp:ListItem>
                                                                        <asp:ListItem Text="Employee" Value="95"></asp:ListItem>
                                                                    </asp:RadioButtonList>

                                                                </div>

                                                                <div class="cBoth"></div>

                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="OrganizationLabel" Text="Organization" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="">
                                                                        <asp:DropDownList ID="OrganizationDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            OnSelectedIndexChanged="OrganizationDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="outerBox pTop5 col-md-3">
                                                                    <div class="controlLabelWidth">
                                                                        <asp:Label ID="DepartmentLabel" Text="Department" runat="server"></asp:Label>
                                                                    </div>
                                                                    <div class="">
                                                                        <asp:DropDownList ID="DepartmentDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            OnSelectedIndexChanged="DepartmentDropDownList_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="ClassDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            OnSelectedIndexChanged="ClassDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                        </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="DivisionDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                            onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                            OnSelectedIndexChanged="DivisionDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                        </asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                            </div>


                                                            <div id="Div1" class="himssuHeader6WireBox col-md-12" runat="server"
                                                                visible="False">
                                                                <div class="himsBoxHeader" id="Div8" 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="Div10" 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>
                                                                            <asp:BoundField DataField="AssigneeToId" Visible="false">
                                                                                <HeaderStyle HorizontalAlign="Left" />
                                                                                <ItemStyle Width="90%" />
                                                                            </asp:BoundField>
                                                                        </Columns>
                                                                        <PagerSettings Visible="False" />
                                                                    </asp:GridView>
                                                                </div>
                                                            </div>

                                                            <div id="CodeDiv" runat="server" visible="False">
                                                                <div class="outerBox pTop5 col-md-3" style="width: 100%">
                                                                    <div class="alert alert-info col-md-12">
                                                                        <i class="material-icons">info</i>
                                                                        <asp:Label ID="CodeNoteLabel" runat="server" Text="<B> Note : </B> Add Code with . Dot seperation (Eg. 2.5.10) OR , Comma seperation (Eg. 2,5,10)"></asp:Label>
                                                                    </div>
                                                                </div>
                                                                <div id="GridViewCodeDiv" class="himssuHeader7WireBox col-md-12"
                                                                    runat="server" style="width: 100%; height: 100%">
                                                                    <div class="himsBoxContent  table-responsive">
                                                                        <asp:GridView ID="OrganizationListGridView" runat="server" AutoGenerateColumns="False"
                                                                            EmptyDataText="No Records Found !!" DataKeyNames="OrgId" CssClass="table table-striped table-bordered table-hover">
                                                                            <Columns>
                                                                                <asp:BoundField DataField="OrgName" HeaderText="Organization">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="30%" />
                                                                                </asp:BoundField>
                                                                                <asp:TemplateField HeaderText="ID No">
                                                                                    <ItemTemplate>
                                                                                        <asp:TextBox runat="server" ID="CodeTextBox" SkinID="CustomWidthTextBox" Width="100%"></asp:TextBox>
                                                                                    </ItemTemplate>
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="70%" Wrap="True" />
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>

                                                        </div>
                                                        <div class="col-md-6 padd-0">


                                                            <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 id="Div6" class="himssuHeader6WireBox pTop15 col-md-12" runat="server">

                                                                <div class="himsBoxHeader card-head inner" id="Div7" runat="server">

                                                                    <div class="himsBoxTitle">
                                                                        <div class="headerText ">
                                                                            <div class="gridHeaderText">
                                                                                <header>
                                                                                    <asp:Label ID="Label5" Text="Source List" runat="server" />
                                                                                </header>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="himsBoxContent width-100 pTop5">
                                                                    <div id="Div9" class="himsBoxContentMsg" runat="server" visible="False">
                                                                    </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,AssigneeToId">
                                                                            <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="ClassDepartment" HeaderText="Class/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">
                                                                                    <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>

                                                                                <asp:BoundField DataField="AssignedTo" HeaderText="Assignee">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:TemplateField HeaderText="AssigneeToId" ItemStyle-Width="2%" HeaderStyle-HorizontalAlign="Left" Visible="false"
                                                                                    ItemStyle-Wrap="true">
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="AssigneeToIdLabel" runat="server" Text='<%# Bind("AssigneeToId") %>'></asp:Label>
                                                                                    </ItemTemplate>
                                                                                </asp:TemplateField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>


                                                        </div>

                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                            <cc1:TabPanel Width="100%" ID="AcademicTabPanel" ClientIDMode="Static" runat="server"
                                                HeaderText="Academic">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-book"></i>&nbsp;Academic </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div class="col-md-12">
                                                            <div class=" pTop15 pb15 col-md-4">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ClassDivisionLabel1" Text="Class Division" runat="server"></asp:Label>
                                                                </div>
                                                                <div class="">
                                                                    <asp:DropDownList ID="ClassDivisionDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                                        onmouseenter="showHideTooltip()" AutoPostBack="True" SkinID="CustomWidthDropDownList"
                                                                        OnSelectedIndexChanged="ClassDivisionDropDownList_OnSelectedIndexChanged" CssClass="form-control">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="col-md-12">
                                                            <div class="col-md-6 padd-0">



                                                                <div class="pTop5 col-md-12">
                                                                    <div class="pull-right">
                                                                        <asp:Button ID="AcademicAddButton" Text="&#xf067; Add" runat="server" OnClick="AcademicAddButton_Click" SkinID="0"
                                                                            class="btn btn-add fas" />
                                                                    </div>
                                                                </div>


                                                                <div id="AcademicDiv" class="himssuHeader6WireBox col-md-12" runat="server" visible="False">
                                                                    <div class="himsBoxHeader card-head inner" id="Div3" runat="server">
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText ">
                                                                                <div class="gridHeaderText">
                                                                                    <header>
                                                                                        <asp:Label ID="AcademicGridViewLabel" Text="List" runat="server" />
                                                                                    </header>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="himsBoxContent width-100">
                                                                        <asp:GridView ID="AcademicSourceGridView" runat="server" AutoGenerateColumns="False"
                                                                            Width="100%" CssClass="table table-striped table-bordered" 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">
                                                                <div class="pTop5 col-md-12">
                                                                    <div class="pull-right">
                                                                        <asp:Button ID="AcademicRemoveButton" Text="&#xf00d; Remove" runat="server" OnClick="AcademicRemoveButton_Click"
                                                                            SkinID="0" class="btn btn-delete fas" />
                                                                    </div>
                                                                </div>
                                                                <div id="AcademicDiv1" class="himssuHeader6WireBox col-md-12" runat="server" style="">
                                                                    <div class="himsBoxHeader card-head inner" id="Div12" runat="server">
                                                                        <div class="himsBoxTitle">
                                                                            <div class="headerText ">
                                                                                <div class="gridHeaderText">
                                                                                    <header>
                                                                                        <asp:Label ID="AcademicGridViewLabel1" Text="Source List" runat="server" />
                                                                                    </header>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="himsBoxContent width-100">
                                                                        <asp:GridView ID="AcademicSourceFinalGridView" runat="server" CssClass="table table-striped table-bordered"
                                                                            AutoGenerateColumns="False" EmptyDataText="No Records Found !!" Width="100%"
                                                                            DataKeyNames="SourceId,SourceTypeId,SourceType,AssigneeToId">
                                                                            <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="ClassDepartment" HeaderText="Class/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">
                                                                                    <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>
                                                                                <asp:BoundField DataField="AssigneeToId" HeaderText="AssigneeToId" Visible="false">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                                <asp:BoundField DataField="AssignedTo" HeaderText="Assignee">
                                                                                    <HeaderStyle HorizontalAlign="Left" />
                                                                                    <ItemStyle Width="15%" />
                                                                                </asp:BoundField>
                                                                            </Columns>
                                                                            <PagerSettings Visible="False" />
                                                                        </asp:GridView>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>

                                            <cc1:TabPanel Width="100%" ID="ResultTabPanel" ClientIDMode="Static" runat="server"
                                                HeaderText="Result" Visible="false">
                                                <HeaderTemplate>
                                                    <ul class="nav nav-tabs tabs-style-iconboxinner ajaxnavtabs">
                                                        <li class="fancyTab"><a><i class="fas fa-tasks"></i>&nbsp;Result </a></li>
                                                    </ul>
                                                </HeaderTemplate>
                                                <ContentTemplate>
                                                    <div class="contentHolder">
                                                        <div id="Div16" class="himssuHeader6WireBox col-md-12" runat="server"
                                                            visible="False">
                                                            <div class="himsBoxHeader" id="Div17" runat="server">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText ">
                                                                        <asp:Label ID="Label1" Text="&nbsp;" runat="server" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent table-reponsive">
                                                                <div id="Div18" class="himsBoxContentMsg" runat="server" visible="False">
                                                                </div>
                                                                <asp:GridView ID="CircularConsentResultGridView" runat="server" AutoGenerateColumns="False"
                                                                    Width="100%" CssClass="table table-striped table-bordered" EmptyDataText="No Records Found !!">
                                                                    <Columns>
                                                                        <asp:TemplateField HeaderText="Class/Department" ItemStyle-Width="10%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClassDeptLabel" CssClass="boxEllips" ToolTip='<%# Bind("ClassDept") %>' runat="server"
                                                                                    Text='<%# Bind("ClassDept") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Code" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("Code") %>' runat="server"
                                                                                    Text='<%# Bind("Code") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Name" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="NameLabel" CssClass="boxEllips" ToolTip='<%# Bind("Name") %>' runat="server"
                                                                                    Text='<%# Bind("Name") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Consent Answer" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ConsentAnswerLabel" CssClass="boxEllips" ToolTip='<%# Bind("CircularConsentAns") %>' runat="server"
                                                                                    Text='<%# Bind("CircularConsentAns") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                    </Columns>
                                                                    <PagerSettings Visible="False" />
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </ContentTemplate>
                                            </cc1:TabPanel>
                                        </cc1:TabContainer>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>

                </div>
                </tr>
                    </table>
            </div>
            </div>
         
        </ContentTemplate>
    </asp:UpdatePanel>
    <cc1:ModalPopupExtender ID="ViewCircularModalPopupExtender" runat="server" TargetControlID="HidenButton" PopupControlID="ModalPopUpPanel" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="dragPanel" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />

    <asp:Panel ID="ModalPopUpPanel" runat="server" CssClass="dragControl" Width="700px" DefaultButton="HidenButton" meta:resourcekey="ModalPopUpPanelResource1">
        <div class="messagebox card card-box">
            <asp:Panel ID="dragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                <div id="dragMe1" class="dragMe card-head" style="cursor: move">
                    <div class="himsPopupWireBox">
                        <div class="himsBoxTopper headerFont">
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="headerText">
                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="DialogHeaderLabel" runat="server" meta:resourcekey="DialogHeaderLabelResource1" Text="View Circular"></asp:Label>
                                            </header>
                                            <span class="pull-right">
                                                <asp:ImageButton ID="ImageButtonClose" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" OnClick="ImageButtonClose_Click" />
                                            </span>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:UpdatePanel ID="CircularViewUpdatePanel" runat="server"
                RenderMode="Inline">
                <ContentTemplate>

                    <div id="bodyContainer" class="card-body">
                        <div class="himsPopupWireBox">

                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div id="divContentPage1">
                                    <div class="spacer">
                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"
                                            meta:resourcekey="Image1Resource1" />
                                    </div>
                                    <div>
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader">
                                                <div class="himsBoxHeader card-head">
                                                    <asp:Panel ID="ViewCircularHeaderPanel" runat="server" meta:resourcekey="ViewCircularPanelResource1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="ViewCircularLabel" runat="server" Text="View Circular"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12">
                                                <asp:Panel ID="SearchDetailPanel" runat="server" meta:resourcekey="SearchDetailPanelResource1">
                                                    <div class="himsBoxContent card-body">
                                                        <div class="contentHolder">
                                                            <div class="outerBox pTop5 col-md-4">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ViewClassLabel" runat="server" Text="Class"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ViewClassDropDownList" SkinID="CustomWidthDropDownList" CssClass="form-control"
                                                                        onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="ViewClassDropDownList_SelectedIndexChanged">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="outerBox pTop5 col-md-4">
                                                                <div class="controlLabelWidth">
                                                                    <asp:Label ID="ViewDivisionLabel" runat="server" Text="Division"></asp:Label>
                                                                </div>
                                                                <div class="fLeft pRight5">
                                                                    <asp:DropDownList runat="server" ID="ViewDivisionDropDownList" SkinID="CustomWidthDropDownList"
                                                                        CssClass="form-control" onmouseleave="showHideTooltip()" AutoPostBack="true" onmouseenter="showHideTooltip()">
                                                                    </asp:DropDownList>
                                                                </div>
                                                            </div>
                                                            <div class="alignCenter col-md-12 pTop5 pb5">
                                                                <asp:Button ID="ViewCircularSearchButton" runat="server" Text="&#xf002; Search" CommandName="search" CausesValidation="false"
                                                                    SkinID="0" CssClass="btn-search btn fas" OnClick="ViewCircularSearchButton_Click" />
                                                                <asp:Button ID="ViewCircularResetButton" runat="server" Text="&#xf0e2; Reset"
                                                                    SkinID="0" CssClass="btn-reset btn fas" OnClick="ViewCircularResetButton_Click" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <asp:Panel ID="Panel2" runat="server" meta:resourcekey="DetailPanelResource1">
                                                    <div class="contentHolder table-responsive">
                                                        <asp:Panel ID="Panel3" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                            <div class="contentHolder">
                                                                <asp:UpdatePanel ID="CircularDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                    <ContentTemplate>
                                                                        <div id="Div13" runat="server" visible="True">
                                                                            <div id="Div14" runat="server" class="table-responsive">
                                                                                <div class="col-md-12">
                                                                                    <asp:GridView ID="ViewCirculargridview" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                        CssClass="table table-striped table-bordered table-hover"
                                                                                        AllowPaging="false" PageSize="10" SkinID="" ShowHeader="True"
                                                                                        DataKeyNames="Code" EmptyDataText="No Records Available">
                                                                                        <Columns>

                                                                                            <asp:TemplateField HeaderText="Code" ItemStyle-Width="20%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="CodeLabel" CssClass="boxEllips" ToolTip='<%# Bind("Code") %>' runat="server"
                                                                                                        Text='<%# Bind("Code") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>


                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Name" ItemStyle-Width="50%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="NameLabel" runat="server" Text='<%#Eval("Name") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>

                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="View By Date Time" ItemStyle-Width="30%">
                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                <ItemTemplate>
                                                                                                    <asp:Label ID="ViewbyDateTimeLabel" runat="server" Text='<%#Eval("ViewByDateTime","{0:dd/MM/yyyy hh.mm tt}") %>'></asp:Label>
                                                                                                </ItemTemplate>
                                                                                            </asp:TemplateField>

                                                                                        </Columns>
                                                                                    </asp:GridView>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </ContentTemplate>
                                                                </asp:UpdatePanel>
                                                            </div>
                                                        </asp:Panel>
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himsmainBoxBottom">
                            </div>
                            <div class="himsmainBoxFooter">
                                <div>
                                    <table>
                                        <tr>
                                            <td>&nbsp
                                            </td>
                                        </tr>

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

                        </div>
                    </div>

                    <asp:UpdateProgress ID="MainUpdateProgress" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage4" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </asp:Panel>
    <script data-main="../../JavaScript/rjs/circular" src="../../JavaScript/rjs/require.js"></script>
    <%--Redirection to Vidyalaya Migration--%>
    <script type="text/javascript">
        function RedirectToNewCommunication(CommunicationURL) {
            var newTab = window.open(CommunicationURL, '_blank');
            // Redirect the current page with an absolute path
            window.location.href = '../../Pages/BaseFramework/MyDashBoard.aspx';
        }
    </script>
</asp:Content>
