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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <hims:EmployeeSearchControl ID="EmployeeSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="239"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="row whiteboxpaddingleft">
                    <div class="himssuHeader5WireBox card card-box" id="SearchDiv" runat="server">
                        <div class="himsBoxHeader card-head">
                            <asp:Panel ID="Panel1" runat="server">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-search"></i>
                                            <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                    <div class="fRight mt-27">
                                        <asp:Button ID="AddNewButtonID" runat="server" SkinID="0"
                                            CssClass="btn btn-add fas" Text="&#xf067; Add" Visible="false" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="DetailPanel" runat="Server">

                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3" style="display: none">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchOrgLabel" runat="server" Text="Organization"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchOrgDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblLead" runat="server" Text="Lead"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="LeadTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="1000"></asp:TextBox>
                                            </div>
                                        </div>
                                        <%--      <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblLead" runat="server" Text="Lead"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ddlLead" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>--%>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="lblEmployee" runat="server" Text="Employee"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="ddlEmployee" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                         <div class="outerBox pTop5 col-md-3" visible ="true">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="Label2" runat="server" Text="Lead Status" visible ="true"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchLeadStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" Visible="true">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchFollowUpTypeLabel" runat="server" Text="FollowUp Type"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList runat="server" ID="SearchFollowUpTypeDropDownList" SkinID="CustomWidthDropDownList"
                                                    CssClass="form-control" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                </asp:DropDownList>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchContactPersonLabel" runat="server" Text="Contact Person"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchContactPersonTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="1000"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ContactMobileLabel" runat="server" Text="Contact Mobile"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ContactMobileTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="server" MaxLength="1000"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="FromDateLabel" runat="server" Text="From Followup Date" Visible="true"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" Visible="true"
                                                    runat="server" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ToDateLabel" runat="server" Text="To Followup Date" Visible="true"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ToDatePickerControl" Visible="true"
                                                    runat="server" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                </div>

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

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

                                    <div class="himsBoxHeader" id="PatientRelationDiv" visible="false" runat="server">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div align="right" class="fRight" style="margin-top: 0px;" runat="server" visible="false">
                                                <uc1:GridViewPager ID="AdmissionInquiryFollowup_GridViewPager" runat="server" OnFirstRecordClick="AdmissionInquiryFollowup_GridViewPager_FirstRecordClick"
                                                    OnLastRecordClick="AdmissionInquiryFollowup_GridViewPager_LastRecordClick" OnNextRecordClick="AdmissionInquiryFollowup_GridViewPager_NextRecordClick"
                                                    OnPrevRecordClick="AdmissionInquiryFollowup_GridViewPager_PrevRecordClick" OnTextBoxValueChange="AdmissionInquiryFollowup_GridViewPager_TextBoxValueChange"
                                                    ParentGridView="AdmissionInquiryFollowup" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                            <ContentTemplate>
                                                <div id="Div5" runat="server" visible="false">
                                                    <div id="Div4" runat="server" class="table-responsive">
                                                        <asp:GridView ID="AdmissionInquiryFollowup" runat="server" AutoGenerateColumns="False"
                                                            OnRowDataBound="AdmissionInquiryFollowup_RowDataBound" OnPageIndexChanging="AdmissionInquiryFollowup_PageIndexChanging"
                                                            AllowPaging="false" SkinID="" ShowHeader="True" PagerSettings-Visible="false"
                                                            EmptyDataText="No records found" DataKeyNames="Id,LeadId,OrgId" CssClass="table table-striped table-bordered table-hover">
                                                            <Columns>
                                                                <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                            Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="FollowupDate" HeaderText="Followup Date" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Center" DataFormatString="{0:dd/MM/yyyy}" />
                                                                <asp:BoundField DataField="OrgName" HeaderText="Organization" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left" Visible="false" />
                                                                <asp:BoundField DataField="Lead" HeaderText="Lead" ItemStyle-Width="35%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="FollowupRemark" HeaderText="Remark" ItemStyle-Width="25%" HeaderStyle-HorizontalAlign="Left" />
                                                                <asp:BoundField DataField="EmployeeName" HeaderText="Employee Name" ItemStyle-Width="15%" HeaderStyle-HorizontalAlign="Left" />
                                                            </Columns>
                                                        </asp:GridView>
                                                    </div>
                                                </div>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas  fa-question-circle"></i>
                                        <asp:Label ID="ReasonMasterDetailLabel" runat="server" Text="Lead Followup "></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <div id="NumberOfRecordDiv" class="display-flex" runat="server" visible="true">
                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                        runat="server" CommandName="Page" CommandArgument="First"
                                        OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-fast-backward"></i>
                                    </asp:LinkButton>
                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                        runat="server" CommandName="Page" CommandArgument="Prev"
                                        OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                    <i class="fa fa-play fa-rotate-180"></i>

                                    </asp:LinkButton>

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

                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                        runat="server" CssClass="btn btn-default gridviewpagerbuttonpadding" CommandName="Page" CommandArgument="Last"
                                        OnClick="LastRecordImageButton_Click">
                                                      <i class="fa fa-fast-forward"></i>
                                    </asp:LinkButton>
                                    &nbsp;  &nbsp; &nbsp;
                                </div>
                                <asp:Button ID="LeadButton" runat="Server" OnClick="LeadButton_Click" SkinID="0" CssClass="btn btn-add fas" Style="margin: 4px;" Text="&#xf43f; Lead" />
                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />

                            </div>
                        </div>
                        <div class="himsBoxContent card-body">
                            <div class="contentHolder">
                                <div id="DivData" runat="server" visible="true">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Title_Label" runat="server" Text="Title : " Font-Bold="True"></asp:Label>

                                            <asp:Label ID="TitleDataLabel" runat="server"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ContactPersonLabel" runat="server" Text="ContactPerson : " Font-Bold="True"></asp:Label>

                                            <asp:Label ID="ContactPerson_Label" runat="server"></asp:Label>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ContactMobileNoLabel" runat="server" Text="Contact Mobile No  : " Font-Bold="True" SkinID="MandatoryLabel"></asp:Label>

                                            <asp:Label ID="ContactMobileNo_Label" runat="server"></asp:Label>
                                        </div>
                                    </div>

                                     <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="EmailLabel" runat="server" Text="Email: " Font-Bold="True"></asp:Label>

                                            <asp:Label ID="Email_Label" runat="server"></asp:Label>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                        <asp:Label ID="LeadOwnerEmployeeLabel" runat="server" Text="Lead Owner Employee" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="LeadOwnerEmployeeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                    </div>
                                        <%--<div class="controlLabelWidth">
                                            <asp:Label ID="LeadStatusLabel" runat="server" Text="Lead Status"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="LeadStatusDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />--%>
                                        </div>
                                    </div>

                                  <%--  <div class="cBoth">
                                    </div>--%>
                                    <%-- <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MobileNoLabel" runat="server" Text="MobileNo : " Font-Bold="True"></asp:Label>

                                        <asp:Label ID="MobileNo_Label" runat="server"></asp:Label>
                                    </div>
                                </div>--%>
                                   

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="FollowupDateLabel" runat="server" Text="Followup Date"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <Date:DatePickerControl DisplayDatePicker="true" ID="FollowupDatePickerControl" runat="server" DataFormatString="{0:dd/MM/yyyy}" />
                                        </div>
                                        <asp:HiddenField ID="IdHiddenField" runat="server" />
                                        <asp:HiddenField ID="LeadIdHiddenField" runat="server" />
                                        <asp:HiddenField ID="MaxRowHiddenField" runat="server" />
                                        <asp:HiddenField ID="OrgIdHiddenField" runat="server" />
                                    </div>
                                </div>
                                <%--   <div class="cBoth">
                            </div>--%>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                            <asp:Label ID="LeadStatusLabel" runat="server" Text="Lead Status" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="LeadStatusDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                            </div>
                                    </div>
                                 <div class="outerBox pTop5 col-md-3">
                                     <div class="controlLabelWidth">
                                        <asp:Label ID="FollowupTypeLabel" runat="server" Text="Followup Type" SkinID="MandatoryLabel"></asp:Label>
                                     </div>
                                          <div class="fLeft pRight5">
                                              <asp:DropDownList ID="FollowupTypeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                          </div>
                                    </div>
                                    <%--<div class="controlLabelWidth">
                                        <asp:Label ID="LeadOwnerEmployeeLabel" runat="server" Text="Lead Owner Employee" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="LeadOwnerEmployeeDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                    </div>--%>
                                     <div class="outerBox pTop5 col-md-3">
                                     <div class="controlLabelWidth">
                                        <asp:Label ID="NonEffective" runat="server" Text="Non-Effective" ></asp:Label>
                                     </div>
                                          <div class="fLeft pRight5">
                                              <asp:DropDownList ID="NonEffectiveDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" />
                                          </div>
                                    </div>
                               
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="Label1" runat="server" Text="Next Followup Date" SkinID="MandatoryLabel"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <Date:DatePickerControl DisplayDatePicker="true" ID="NextFollowupDatePickerControl" runat="server" />
                                    </div>
                                </div>
                                <div class="outerBox11 pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="FollowupRemarkLabel" runat="server" Text="Followup Remark"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="FollowupRemarkTextBox" runat="server" onmouseleave="showHideTooltip()"
                                            SkinID="MultiLineTextBox" onmouseenter="showHideTooltip()" MaxLength="150"
                                            TextMode="MultiLine"></asp:TextBox>
                                    </div>
                                </div>
                                
                                <div class="outerBox pTop15 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:CheckBox ID="IsPhysicalCheckBox" runat="server" AutoPostBack="false" Text="Is Physical" Visible="false" />
                                        <asp:HiddenField ID="IsPhysicalHiddenField" runat="server" />
                                        <%--  <asp:Label ID="Mobile_Label" runat="server" Text="Send Alert"></asp:Label>--%>
                                    </div>
                                </div>
                                <div id="Div3" class="himssuHeader7WireBox col-md-12 pTop10" runat="server">
                                    <div id="NewsDetailDiv" visible="false" runat="server">

                                        <div class="himsBoxHeader" id="NewsDiv" visible="false" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle" style="width: 99%">
                                                <div align="right" class="fRight" style="margin-top: 0px;">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
                                                <ContentTemplate>
                                                </ContentTemplate>
                                            </asp:UpdatePanel>
                                        </div>
                                    </div>
                                </div>
                                <div id="Div2" runat="server" visible="false">
                                    <div id="Div6" runat="server" class="table-responsive col-md-12">
                                        <asp:GridView ID="PrintTemplateGridView" runat="server" AutoGenerateColumns="False"
                                            OnRowDataBound="PrintTemplateGridView_RowDataBound" OnPageIndexChanging="PrintTemplateGridView_PageIndexChanging" CssClass="table table-striped table-bordered table-hover"
                                            SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id">
                                            <Columns>
                                                <asp:TemplateField ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                    HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="SelectLinkButton_Click"
                                                            Text="Select" CausesValidation="false"></asp:LinkButton>
                                                    </ItemTemplate>
                                                </asp:TemplateField>

                                                <asp:TemplateField HeaderText="FollowupDate" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="AffiliationLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("FollowupDate","{0:dd/MM/yyyy}")%>'
                                                            Text='<%#Bind("FollowupDate","{0:dd/MM/yyyy}")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="IsPhysical" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="IsPhysicalLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("IsPhysical")%>'
                                                            Text='<%#Bind("IsPhysical")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="FollowupRemark" ItemStyle-Width="30%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="TitleLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("FollowupRemark")%>'
                                                            Text='<%#Bind("FollowupRemark")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="EmployeeName" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="AreaLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("EmployeeName")%>'
                                                            Text='<%#Bind("EmployeeName")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                                <asp:TemplateField HeaderText="Lead" ItemStyle-Width="10%" Visible="false" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                    <ItemTemplate>
                                                        <asp:Label ID="CityLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Lead")%>'
                                                            Text='<%#Bind("Lead")%>'></asp:Label>
                                                    </ItemTemplate>
                                                </asp:TemplateField>
                                            </Columns>
                                        </asp:GridView>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/assign-organization-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/assign-organization")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
