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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl"
    TagPrefix="Date" %>
<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: none; 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="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <Common:CommonSearchUserControl ID="CommonSearchControl" runat="server" Visible="false" />
                <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" OnClick="AddNewButton_Click" SkinID="0"
                                            CssClass="btn btn-add fas" Text="&#xf067; Add" />
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body" style="padding-bottom: 0px">
                            <asp:Panel ID="DetailPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="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="SearchTitleLabel" Text="Title" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchTitleTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="100"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchCountryLabel" runat="server" Text="Country"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchCountryDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="SearchCountryDropDownList_SelectedIndexChanged" />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchStateLabel" runat="server" Text="State"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchStateDropDownList" 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="Label4" runat="server" Text="District "></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                  <acc:AutoCompleteControl ID="txtDistrict" runat="server" MinimumPrefixLength="2"
                                                        MaxLength="50" ContextKey="Common.District" AutoPostBack="true" DisplayLoadingStatus="true"
                                                        SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                 <asp:ImageButton SkinID="FindImage" Visible="false" ToolTip="Search" ID="SearchDistrictImageButton"
                                                        runat="server" OnClick="SearchDistrictImageButton_Click" />
                                                    <asp:HiddenField ID="SearchDistrictHiddenField" runat="server" />
                                                <%--<asp:TextBox ID="txtDistrict" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>--%>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchCityLabel" Text="City" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                 <acc:AutoCompleteControl ID="SearchCityTextBox" runat="server" MinimumPrefixLength="2"
                                                        MaxLength="50" ContextKey="Common.City" AutoPostBack="true" DisplayLoadingStatus="true"
                                                        SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                    <asp:ImageButton SkinID="FindImage" Visible="false" ToolTip="Search" ID="SearchCityImageButton"
                                                        runat="server" OnClick="SearchCityImageButton_Click" />
                                                    <asp:HiddenField ID="SearchCityIdHiddenField" runat="server" />
                                               <%-- <asp:TextBox ID="SearchCityTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="200"></asp:TextBox>--%>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchAreaNameLabel" Text="Area Name" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="SearchAreaNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="200"></asp:TextBox>
                                            </div>
                                        </div>



                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchLeadAffiliationLabel" runat="server" Text="Lead Affiliation"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchLeadAffiliationDropDownList" 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="SearchLeadStatusLabel" runat="server" Text="Lead Status"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchLeadStatusDropDownList" 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="SearchLeadSourceLabel" runat="server" Text="Lead Source"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchLeadSourceDropDownList" 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="SearchVCPLabel" runat="server" Text="VCP Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchVCPDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"  />
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="SearchLeadOwnerLabel" runat="server" Text="Lead Owner"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchLeadOwnerDropDownList" 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="SearchInfrastructur" runat="server" Text="infrastructure"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="SearchInfrastructurDropDownList" 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="SearchLeadDateLabel" runat="server" Text="Lead Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="SearchLeadDateDPC" runat="server" />
                                            </div>
                                        </div>
                                               <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ContectPersonLabel" Text="Contect Person" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ContectPersonTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="200"></asp:TextBox>
                                            </div>
                                        </div>
                                               <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ContectMobileLabel" Text="Contect Mobile" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:TextBox ID="ContectMobileTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                    SkinID="CustomWidthTextBox" runat="Server" MaxLength="200"></asp:TextBox>
                                            </div>
                                        </div>

                                        <div class="cBoth">
                                        </div>
                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:HyperLink ID="HyperLink1" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/LeadMaster_Template.xls" CssClass="pointer fas"></asp:HyperLink>
                                            </div>
                                        </div>

                                         <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="LatLongCheckBox" runat="server"  AutoPostBack="true" Text="View_Lat_Long" />

                                                <%--  <asp:Label ID="Mobile_Label" runat="server" Text="Send Alert"></asp:Label>--%>
                                            </div>
                                        </div>

                                        <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:CheckBox ID="Mobile_CheckBox" runat="server" OnCheckedChanged="Mobile_CheckBox_CheckedChanged" AutoPostBack="true" Text="Send Alert" />

                                                <%--  <asp:Label ID="Mobile_Label" runat="server" Text="Send Alert"></asp:Label>--%>
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div runat="server" id="DivMobile" visible="false">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="fLeft pRight5">
                                                    <asp:CheckBox ID="SMSChckBox" runat="server" Text="SMS" />
                                                    <asp:CheckBox ID="MailCheckBox" runat="server" Text="Mail" />

                                                    <asp:HiddenField runat="server" ID="SendButtonHiddenField" />
                                                </div>
                                            </div>

                                            <asp:Button ID="SendButton" runat="server" Text="&#xf1d8; Send"
                                                OnClick="SendButton_Click" SkinID="0" CssClass="btn-send btn fas" />
                                            <div class="cBoth">
                                            </div>
                                            <div class="outerBox pTop5 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="SubjectLabel" runat="server" Text="Subject" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="SubjectTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server" MaxLength="1000"></asp:TextBox>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5 mb4 col-md-12">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="MessageLabel" runat="server" Text="Message" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="MessageTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        Height="50px" SkinID="MultilineTextBox" runat="server" MaxLength="1000"
                                                        TextMode="MultiLine" OnTextChanged="MessageTextBox_TextChanged" AutoPostBack="True"></asp:TextBox>
                                                    <div id="CharCountDiv" class="col-md-12" runat="server">
                                                        <asp:Label ID="ForCharLabel" runat="server" Text="Number Of Character :"></asp:Label>
                                                        <asp:Label ID="NumberOfCharLabel" runat="server" Font-Bold="True"></asp:Label>
                                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                                        <asp:Label ID="ForMessageLabel" runat="server" Text="Number Of Message :"></asp:Label>
                                                        <asp:Label ID="NumberOfMessageLabel" runat="server" Font-Bold="True"></asp:Label>
                                                    </div>
                                                </div>
                                            </div>

                                        </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" />
                                            <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" CssClass="btn-examcommon btn fas" SkinID="0" OnClick="ExportButton_Click" />
                                            <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 ID="Importbutton" runat="server" Text="&#xf019; Import" CssClass="btn-examcommon btn fas" SkinID="0" OnClick="Importbutton_Click" />
                                            <%--<asp:Button ID="UpdateLatLongbutton" runat="server" Text="&#xf019; UpdateLatLong" CssClass="btn-examcommon btn fas" SkinID="0"  OnClick="UpdateLatLongbutton_Click"/>--%>
                                        </div>
                                         <asp:Label ID="Label2" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                        <div class="cBoth">
                                        </div>
                                    </asp:Panel>
                                    <div id="Div1" class="himssuHeader7WireBox col-md-12" 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="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                    <ContentTemplate>
                                                        <div id="Div5" runat="server" visible="false">
                                                            <div id="Div2" runat="server" class="table-responsive">
                                                                <asp:GridView ID="PrintTemplateGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                    OnRowDataBound="PrintTemplateGridView_RowDataBound" OnPageIndexChanging="PrintTemplateGridView_PageIndexChanging" CssClass="table table-striped table-bordered table-hover"
                                                                    SkinID="" ShowHeader="true" PagerSettings-Visible="false" DataKeyNames="Id,OrgId,MobileNo,EMail,LeadOwnerEmployeeId,ContactEmail,ContactEmail2,ContactEmail3,ContactEmail4,ContactEmail5,ContactPerson,ContactPerson2,ContactPerson3,ContactPerson4,ContactPerson5,LeadDate,ContactDesignation,ContactDesignation2,ContactDesignation3,ContactDesignation4,ContactDesignation5,ContactMobileNo,ContactMobileNo2,ContactMobileNo3,ContactMobileNo4,ContactMobileNo5,ZipCode,LeadSource,StreetDetail,AreaName,CityName,StateName,district,Country">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <HeaderTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="HeaderCheckBox" Enabled="true" onclick="CheckAll(this);" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </HeaderTemplate>
                                                                            <ItemTemplate>
                                                                                <label class="rt-chkbox rt-chkbox-outline">
                                                                                    <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                                    <span></span>
                                                                                </label>
                                                                            </ItemTemplate>

                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                            HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                    Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="FollowupLinkButton" runat="server" OnClick="FollowupLinkButton_Click"
                                                                                    Text="Followup" CausesValidation="false"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Affiliation" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="AffiliationLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Affiliation")%>'
                                                                                    Text='<%#Bind("Affiliation")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Title" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="TitleLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Title")%>'
                                                                                    Text='<%#Bind("Title")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Area" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="AreaLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("AreaName")%>'
                                                                                    Text='<%#Bind("AreaName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="City" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CityLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("CityName")%>'
                                                                                    Text='<%#Bind("CityName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="State" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="StateNameLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("StateName")%>'
                                                                                    Text='<%#Bind("StateName")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Country" ItemStyle-Width="10%" Visible="false" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CountryNameLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("Country")%>'
                                                                                    Text='<%#Bind("Country")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="District" ItemStyle-Width="10%" Visible="false" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DistrictNameLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("district")%>'
                                                                                    Text='<%#Bind("district")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                        <asp:TemplateField HeaderText="Lead Status" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="LeadStatusLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("LeadStatus")%>'
                                                                                    Text='<%#Bind("LeadStatus")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Lead Owner" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="LeadOwnerLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("LeadOwner")%>'
                                                                                    Text='<%#Bind("LeadOwner")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Next FollowUp" ItemStyle-Width="10%" meta:resourcekey="TemplateFieldResource1" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="NextFollowupDateLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("NextFollowupDate","{0:dd/MM/yyyy}")%>'
                                                                                    Text='<%#Bind("NextFollowupDate","{0:dd/MM/yyyy}")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Remark" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="NextFollowupRemarkLabel" runat="server" CssClass="boxEllips" ToolTip='<%#Bind("NextFollowupRemark")%>'
                                                                                    Text='<%#Bind("NextFollowupRemark")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>

                                                                         <asp:TemplateField HeaderText="ContactPerson" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactPerson1" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactPerson")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                           <asp:TemplateField HeaderText="ContactPerson" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactPerson2" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactPerson2")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                           <asp:TemplateField HeaderText="ContactPerson" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactPerson3" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactPerson3")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                           <asp:TemplateField HeaderText="ContactPerson" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactPerson4" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactPerson4")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                           <asp:TemplateField HeaderText="ContactPerson" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactPerson5" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactPerson5")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                          <asp:TemplateField HeaderText="ContactEmail" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactEmail1" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactEmail")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="ContactEmail2" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactEmail2" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactEmail2")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="ContactEmail3" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactEmail3" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactEmail3")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="ContactEmail4" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactEmail4" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactEmail4")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="ContactEmail5" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactEmail5" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactEmail5")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                         <asp:TemplateField HeaderText="ContactEmail5" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblLeadDate" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("LeadDate")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                                   <asp:TemplateField HeaderText="ContactDesignation" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactDesignation" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactDesignation")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                                   <asp:TemplateField HeaderText="ContactDesignation2" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactDesignation2" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactDesignation2")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                                   <asp:TemplateField HeaderText="ContactDesignation3" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactDesignation3" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactDesignation3")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                                   <asp:TemplateField HeaderText="ContactDesignation4" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactDesignation4" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactDesignation4")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                                   <asp:TemplateField HeaderText="ContactDesignation5" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactDesignation5" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactDesignation5")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                          <asp:TemplateField HeaderText="ContactMobileNo" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactMobileNo" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactMobileNo")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                          <asp:TemplateField HeaderText="ContactMobileNo2" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactMobileNo2" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactMobileNo2")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                          <asp:TemplateField HeaderText="ContactMobileNo3" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactMobileNo3" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactMobileNo3")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                          <asp:TemplateField HeaderText="ContactMobileNo4" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactMobileNo4" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactMobileNo4")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                          <asp:TemplateField HeaderText="ContactMobileNo5" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblContactMobileNo5" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ContactMobileNo5")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                             <asp:TemplateField HeaderText="LeadSource" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblLeadSource" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("LeadSource")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                              <asp:TemplateField HeaderText="ZipCode" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblZipCode" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("ZipCode")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                            <asp:TemplateField HeaderText="StreetDetail" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblStreetDetail" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("StreetDetail")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="LongitudeAxis" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblLongitudeAxis" runat="server" CssClass="boxEllips" 
                                                                                    Text='<%#Bind("LongitudeAxis")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="LatitudeAxis" ItemStyle-Width="20%" meta:resourcekey="TemplateFieldResource1" Visible="false" HeaderStyle-HorizontalAlign="Left">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="lblLatitudeAxis" runat="server" CssClass="boxEllips"  
                                                                                    Text='<%#Bind("LatitudeAxis")%>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </ContentTemplate>
                                                </asp:UpdatePanel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                    <div class="himssuHeader1WireBox card card-box" id="DetailDiv" runat="server" visible="false">
                        <div class="himsBoxHeader card-head">
                            <div class="leftdiv">
                            </div>
                            <div class="himsBoxTitle">
                                <div class="headerText">
                                    <header>
                                        <i class="fas fa-info-circle"></i>
                                        <asp:Label ID="NewsDetailLabel" runat="server" Text="Lead Information"></asp:Label>
                                    </header>
                                </div>
                            </div>
                            <div class="fRight mt-27 pagination display-flex">
                                <%-- <table>
                                    <tr>
                                        <td class="formLabel">
                                            <div id="NumberOfRecordDiv" runat="server" visible="true">
                                                <asp:ImageButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                    OnClick="FirstRecordImageButton_Click" />
                                                <asp:ImageButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                    OnClick="PreviousImageButton_Click" />
                                                <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" />
                                                <asp:ImageButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                    runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                    OnClick="NextImageButton_Click" />
                                                <asp:ImageButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                    runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                    OnClick="LastRecordImageButton_Click" />
                                            </div>
                                        </td>
                                        <td>
                                            <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0"
                                                CssClass="BackButton" Text="Back" />
                                        </td>
                                    </tr>
                                </table>--%>

                                <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="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" CssClass="btn btn-back fas" Text="&#xf30a;  back" />

                            </div>
                        </div>
                        <div class="card-body" style="padding-bottom: 0px">
                            <div class="contentHolder">

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

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="LeadAffiliationLabel" runat="server" Text="Lead Affiliation"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="LeadAffiliationDropDownList" 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="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="LeadSourceLabel" runat="server" Text="Lead Source" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:DropDownList ID="LeadSourceDropDownList" 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="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>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="WebsiteLabel" runat="server" Text="Website"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="WebsiteTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>

                                        </div>
                                    </div>
                                      <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="VCPLabel" runat="server" Text="VCP Name"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="VCPDropDownList" runat="server" CssClass="form-control" SkinID="CustomWidthDropDownList" AutoPostBack="true"
                                                    onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"  />
                                            </div>
                                        </div>
                                     <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="InfrastructurLabel" runat="server" Text="infrastructure"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="InfrastructurDropDownList" 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="NextFollowUpDateLabel" 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="NextFollowUpRemarkLabel" runat="server" Text="Next FollowUp Remark"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="NextFollowUpRemarkTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" SkinID="MultiLineTextBox" MaxLength="150" TextMode="MultiLine"></asp:TextBox>
                                        </div>
                                    </div>
                                         <div class="outerBox pTop5 col-md-3">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="LeadDateLabel" runat="server" Text="Lead Date" SkinID="MandatoryLabel"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="LeadDateDCP" runat="server" />
                                            </div>
                                        </div>
                                </div>

                            </div>


                            <div class="pTop5" id="ContactDetailDiv" runat="server">
                                <div class="himsBoxHeader card-head inner" id="Div4" runat="server" visible="True">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText fLeft">
                                            <header>
                                                <asp:Label ID="Label1" Text="Contact Detail" runat="server" />
                                            </header>
                                        </div>
                                    </div>
                                </div>


                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CountryLabel" runat="server" Text="Country" SkinID="MandatoryLabel"
                                            meta:resourcekey="CountryLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="CountryDropDownList" runat="server" AutoPostBack="True" CssClass="form-control"
                                            OnSelectedIndexChanged="CountryDropDownList_SelectedIndexChanged" onmouseleave="showHideTooltip()"
                                            onmouseenter="showHideTooltip()"
                                            meta:resourcekey="CountryDropDownListResource1">
                                        </asp:DropDownList>

                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StateLabel" runat="server" Text="State" SkinID="MandatoryLabel"
                                            meta:resourcekey="StateLabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:DropDownList ID="StateDropDownList" runat="server" CssClass="form-control"
                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            meta:resourcekey="StateDropDownListResource1">
                                        </asp:DropDownList>


                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="districtLabel" runat="server" Text="District "></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                            <acc:AutoCompleteControl ID="txtDistrict2" runat="server" MinimumPrefixLength="2"
                                                        MaxLength="50" ContextKey="Common.District" AutoPostBack="true" DisplayLoadingStatus="true"
                                                        SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                 <asp:ImageButton SkinID="FindImage" Visible="false" ToolTip="Search" ID="DistrictImageButton"
                                                        runat="server" OnClick="DistrictImageButton_Click" />
                                                    <asp:HiddenField ID="DistrictHiddenField" runat="server" />
                                       <%-- <asp:TextBox ID="txtDistrict2" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>--%>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="CityNameLabel" runat="server" Text="City Name"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                          <acc:AutoCompleteControl ID="CityNameTextBox" runat="server" MinimumPrefixLength="2"
                                                        MaxLength="50" ContextKey="Common.City" AutoPostBack="true" DisplayLoadingStatus="true"
                                                        SkinID="CustomWidthTextBox" CssClass="form-control" ValidateOnTextChanged="false" />
                                                    <asp:ImageButton SkinID="FindImage" Visible="false" ToolTip="Search" ID="CityImageButton"
                                                        runat="server" OnClick="CityImageButton_Click" />
                                                    <asp:HiddenField ID="CityIdHiddenField" runat="server" />
                                        <%--<asp:TextBox ID="CityNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>--%>
                                    </div>
                                </div>
                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="AreaNameLabel" runat="server" Text="Area Name"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="AreaNameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>

                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-6">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="StreetOneLabel" runat="server" Text="Street Detail" meta:resourcekey="Address1LabelResource1"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="StreetOneTextBox" runat="server" onmouseleave="showHideTooltip()"
                                            SkinID="CustomWidthTextBox" onmouseenter="showHideTooltip()" MaxLength="50"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="ZipCodeLabel" runat="server" Text="Zip Code"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="ZipCodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>
                                    </div>
                                </div>

                                <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="PhnNoLabel" runat="server" Text="Phone No."></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="PhnNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>
                                    </div>
                                </div>
                          <%--      <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="MobileNoLabel" runat="server" Text="Mobile No."></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="MobileNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" MaxLength="20" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>

                                    </div>
                                </div>--%>
                            <%--    <div class="outerBox pTop5 col-md-3">
                                    <div class="controlLabelWidth">
                                        <asp:Label ID="EmailLabel" runat="server" Text="Email"></asp:Label>
                                    </div>
                                    <div class="fLeft pRight5">
                                        <asp:TextBox ID="EmailTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                            runat="server" SkinID="CustomWidthTextbox"></asp:TextBox>

                                    </div>
                                </div>--%>
                                <div class="col-md-12">
                                    <%--Contact 1--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ContactPersonLabel" runat="server" Text="Contact Person 1" SkinID="MandatoryLabel"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="ContactPersonTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ContactDesignationLabel" runat="server" Text="Contact Designation 1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="ContactDesignationTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ContactMobileNoLabel" runat="server" Text="Contact Mobile No 1"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="ContactMobileNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>

                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="ContactEmailLabel" runat="server" Text="Contact Email"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="ContactEmailTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <%--Contact 2--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContcatPerson2" runat="server" Text="Contact Person 2"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactPerson2" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactDesi2" runat="server" Text="Contact Designation 2"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactDesi2" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactMObile2" runat="server" Text="Contact Mobile No 2"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactMobile2" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>

                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactEmail2" runat="server" Text="Contact Email 2"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactEmail2" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <%--Contact 3--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContcatPerson3" runat="server" Text="Contact Person 3"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactPerson3" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactDesi3" runat="server" Text="Contact Designation 3"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactDesi3" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactMobile3" runat="server" Text="Contact Mobile No 3"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactMobile3" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>

                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactEmail3" runat="server" Text="Contact Email 3"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactEmail3" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <%--Contact 4--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContcatPerson4" runat="server" Text="Contact Person 4"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactPerson4" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactDesi4" runat="server" Text="Contact Designation 4"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactDesi4" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactMobile4" runat="server" Text="Contact Mobile No 4"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactMobile4" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>

                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactEmail4" runat="server" Text="Contact Email 4"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactEmail4" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <%--Contact 5--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContcatPerson5" runat="server" Text="Contact Person 5"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactPerson5" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="100" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactDesi5" runat="server" Text="Contact Designation 5"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactDesi5" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactMobile5" runat="server" Text="Contact Mobile No 5"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactMobile5" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox" onKeypress="javascript:return NumberOnly(event)"></asp:TextBox>

                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="lblContactEmail5" runat="server" Text="Contact Email 5"></asp:Label>
                                        </div>
                                        <div class="fLeft pRight5">
                                            <asp:TextBox ID="txtContactEmail5" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                runat="server" MaxLength="50" SkinID="CustomWidthTextbox"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>


    <%--<script data-main="../../JavaScript/rjs/customer-master" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/customer-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
    <%--<script data-main='<%=ResolveUrl("~/JavaScript/rjs/import-employee")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>--%>
    <%-- <script data-main="../../../JavaScript/rjs/builtjs/customer-master-built" src="../../../JavaScript/rjs/require.js"></script>--%>


    <%--    <script type="text/javascript" language="javascript">
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
        function EndRequestHandler(sender, args) {
            if (args.get_error() != undefined) {
                args.set_errorHandled(true);
            }
        }
    </script>--%>
</asp:Content>
