<%@ page title="" language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="Sales_LeadDetail, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>

<%@ Register Src="~/RCC/Helpdesk/ViewTickets.ascx" TagName="ViewTickets" TagPrefix="UC" %>
<%@ Register Src="~/RCC/Helpdesk/SubmitTicket.ascx" TagName="SubmitTicket" TagPrefix="UC" %>

<asp:Content ID="Content5" ContentPlaceHolderID="CPH_Content" runat="Server">
    <script type="text/javascript" language="javascript">
        function Upload(Id) {
            var array = Id.split('TxBx_ActivitySubject');
            var Attachment = document.getElementById(array[0] + 'Attachment');
            var HF_PostType = document.getElementById(array[0] + 'HF_PostType');
            if (Attachment.value != "") {
                HF_PostType.value = "1"
                __doPostBack('dummy', '');
                //$object("_PageRequestManager")._doPostBack( "dummy", "" );
                return false;
            }
            else {
                //alert("Click Browse button and select a file to upload.");
                HF_PostType.value = "0"
                //return false;
            }
        }

    </script>
    <div class="col-xs-12">
        <div class="card">
            <div class="body">
                <EM:TabContainer ID="TC_LeadDetail" runat="server" OnClientActiveTabChanged="loadTabPanel">
                    <EM:TabPanel ID="Tab_Detail" runat="server" HeaderText='Lead Detail'>
                        <ContentTemplate>
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab0" runat="server" Style="display: none;" />

                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                                <div class="row Div_OpsRow" id="Tbl_Operations" runat="server">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="header">
                                                <h3>
                                                    <asp:Literal
                                                        ID="Literal1" runat="server" Text="<%$ Resources:Content,GN00001320%>" EnableViewState="false" />
                                                </h3>
                                            </div>
                                            <div class="body">
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Edit" runat="server" Text="<%$ Resources:Content,GN0000276%>" SkinID="defaultButton" />
                                                <asp:Button ID="Btn_Emails" runat="server" class="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,GN0000652%>" CssClass="btn btn-primary" />
                                                
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="card">
                                            <div class="body">
                                                <div id="Tbl_Detail" runat="server">
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadSubject" runat="server" Text="<%$ Resources:Content,GN0000371%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadSubject" runat="server">Subject</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadFirstName" runat="server" Text="<%$ Resources:Content,GN00001132%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadFirstName" runat="server">First Name</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadLastName" runat="server" Text="<%$ Resources:Content,GN00001133%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadLastName" runat="server">Last Name</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadEmail" runat="server" Text="<%$ Resources:Content,GN0000652%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadEmail" runat="server">Email</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadBusinessPhone" runat="server" Text="<%$ Resources:Content,DGN1110362%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadBusinessPhone" runat="server">Business Phone</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadCompanyName" runat="server" Text="<%$ Resources:Content,GN00001077%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadCompanyName" runat="server">Company Name</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal43" runat="server" Text="<%$ Resources:Content,GN0000597%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_Description" runat="server">Description</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadWebsite" runat="server" Text="<%$ Resources:Content,GN00008222%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadWebsite" runat="server">Website</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadLVKNumber" runat="server" Text="<%$ Resources:Content,Lvknumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadLVKNumber" runat="server">LVKNumber</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadHomePhone" runat="server" Text="<%$ Resources:Content,DGN1110382%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadHomePhone" runat="server">Home Phone</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadMobilePhone" runat="server" Text="<%$ Resources:Content,GN0000885%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadMobilePhone" runat="server">Mobile Phone</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadPager" runat="server" Text="<%$ Resources:Content,DGN1110383%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadPager" runat="server">Pager</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadFax" runat="server" Text="<%$ Resources:Content,GN0000886%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadFax" runat="server">Fax</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadAddress1" runat="server" Text="<%$ Resources:Content,GN0000878%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadAddress1" runat="server">Address1</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadAddress2" runat="server" Text="<%$ Resources:Content,GN00001136%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadAddress2" runat="server">Address2</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadCity" runat="server" Text="<%$ Resources:Content,GN0000880%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadCity" runat="server">City</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadStateProvince" runat="server" Text="<%$ Resources:Content,GN00001313%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadStateProvince" runat="server">State Province</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadZIPPostalCode" runat="server" Text="<%$ Resources:Content,GN00001522%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadZIPPostalCode" runat="server">ZIPPostal Code</div>
                                                    </div>


                                                     <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal189" runat="server" Text="<%$ Resources:Content,strStreetName%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="col-sm-7 col-xs-12" id="Td_StreetName" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal190" runat="server" Text="<%$ Resources:Content,strHouseNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="col-sm-7 col-xs-12" id="Td_HouseNumber" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal191" runat="server" Text="<%$ Resources:Content,strAdditionHouseNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                           <div class="col-sm-7 col-xs-12" id="Td_AdditionHouseNumber" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal192" runat="server" Text="<%$ Resources:Content,strMunicipality%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="col-sm-7 col-xs-12" id="Td_Municipality" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal193" runat="server" Text="<%$ Resources:Content,strPOBoxNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="col-sm-7 col-xs-12" id="Td_POBoxNumber" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal194" runat="server" Text="<%$ Resources:Content,strPOBoxZIP%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                           <div class="col-sm-7 col-xs-12" id="Td_POBoxZIP" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal195" runat="server" Text="<%$ Resources:Content,strPOBoxCity%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="col-sm-7 col-xs-12" id="Td_POBoxCity" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal196" runat="server" Text="<%$ Resources:Content,strPhoneNetNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                           <div class="col-sm-7 col-xs-12" id="Td_PhoneNetNumber" runat="server"></div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal197" runat="server" Text="<%$ Resources:Content,strPhoneSubscriptionNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="col-sm-7 col-xs-12" id="Td_PhoneSubscriptionNumber" runat="server"></div>
                                                        </div>
                                                    </div>



                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadAnnualRevenue" runat="server" Text="<%$ Resources:Content,Annualrevenue%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadAnnualRevenue" runat="server">Annual Revenue</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadEmployeesCount" runat="server" Text="<%$ Resources:Content,Employeescount%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadEmployeesCount" runat="server">Employees Count</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadNAICSCode" runat="server" Text="<%$ Resources:Content,Naicscode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadNAICSCode" runat="server">NAICSCode</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadSISCode" runat="server" Text="<%$ Resources:Content,Siscode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadSISCode" runat="server">SISCode</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_CustomerId" runat="server" Text="<%$ Resources:Content,GN0000850%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_CustomerId" runat="server">Customer</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadPGID" runat="server" Text="<%$ Resources:Content,GN0000831%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadPGID" runat="server">PGID</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadTypeId" runat="server" Text="<%$ Resources:Content,GN0000673%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadTypeId" runat="server">Type</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadCurrentStatusId" runat="server" Text="<%$ Resources:Content,Currentstatus%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadCurrentStatusId" runat="server">Current Status</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadRatingId" runat="server" Text="<%$ Resources:Content,Rating%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadRatingId" runat="server">Rating</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadStatusId" runat="server" Text="<%$ Resources:Content,String385%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadStatusId" runat="server">Status</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadStatusReasonId" runat="server" Text="<%$ Resources:Content,Statusreason%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadStatusReasonId" runat="server">Status Reason</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadRegionId" runat="server" Text="<%$ Resources:Content,Lync362%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadRegionId" runat="server">Region</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadSourceId" runat="server" Text="<%$ Resources:Content,SMI1898%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadSourceId" runat="server">Source</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadIndustryId" runat="server" Text="<%$ Resources:Content,Industry%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadIndustryId" runat="server">Industry</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadOwnerEmployeeId" runat="server" Text="<%$ Resources:Content,Owneremployee%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadOwnerEmployeeId" runat="server">Owner Employee</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadSourceCompaignId" runat="server" Text="<%$ Resources:Content,Sourcecompaign%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadSourceCompaignId" runat="server">Source Compaign</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadContactMethodId" runat="server" Text="<%$ Resources:Content,Contactmethod%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadContactMethodId" runat="server">Contact Method</div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadLastCompaignId" runat="server" Text="<%$ Resources:Content,Lastcompaign%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadLastCompaignId" runat="server">Last Compaign</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadEmailEnabled" runat="server" Text="<%$ Resources:Content,Emailenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadEmailEnabled" runat="server">Email Enabled</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadPhoneEnabled" runat="server" Text="<%$ Resources:Content,Phoneenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadPhoneEnabled" runat="server">Phone Enabled</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadBulkEmailEnabled" runat="server" Text="<%$ Resources:Content,Bulkemailenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadBulkEmailEnabled" runat="server">Bulk Email Enabled</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadFaxEnabled" runat="server" Text="<%$ Resources:Content,Faxenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadFaxEnabled" runat="server">Fax Enabled</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadMailEnabled" runat="server" Text="<%$ Resources:Content,Exch011%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadMailEnabled" runat="server">Mail Enabled</div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Ltl_LeadMarketingMaterialEnabled" runat="server" Text="<%$ Resources:Content,Marketingmaterialenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_LeadMarketingMaterialEnabled" runat="server">Marketing Material Enabled</div>
                                                    </div>


                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal132" runat="server" Text="<%$ Resources:Content,strUniqueID %>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_UniqueID" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal133" runat="server" Text="<%$ Resources:Content,strFileNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_FileNumber" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal134" runat="server" Text="<%$ Resources:Content,strSubFileNumber%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SubFileNumber" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal135" runat="server" Text="<%$ Resources:Content,strEstablishmentNumber%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_EstablishmentNumber" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal136" runat="server" Text="<%$ Resources:Content,strBranchIndication%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_BranchIndication" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal137" runat="server" Text="<%$ Resources:Content,strCompanyNameInCOC%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_CompanyNameInCOC" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal138" runat="server" Text="<%$ Resources:Content,strLegalForm%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_LegalForm" runat="server"></div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal139" runat="server" Text="<%$ Resources:Content,strSBI%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SBI" runat="server"></div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal140" runat="server" Text="<%$ Resources:Content,strSBICode%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SBICode" runat="server"></div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal141" runat="server" Text="<%$ Resources:Content,strSBIAncillaryOne%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SBIAncillaryOne" runat="server"></div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal142" runat="server" Text="<%$ Resources:Content,strSBIAncillaryOneCode%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SBIAncillaryOneCode" runat="server"></div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal143" runat="server" Text="<%$ Resources:Content,strSBIAncillaryTwo%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SBIAncillaryTwo" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal144" runat="server" Text="<%$ Resources:Content,strDateOfEstablishment%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_DateOfEstablishment" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal145" runat="server" Text="<%$ Resources:Content,strDescClassOfEmployed%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_DescClassOfEmployed" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal146" runat="server" Text="<%$ Resources:Content,strContactPFunction%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ContactPFunction" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal147" runat="server" Text="<%$ Resources:Content,strContactPGender%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ContactPGender" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal148" runat="server" Text="<%$ Resources:Content,strContactPTitle%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ContactPTitle" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal149" runat="server" Text="<%$ Resources:Content,strContactPInitial%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_ContactPInitial" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal150" runat="server" Text="<%$ Resources:Content,strContactPInfix%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ContactPInfix" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal151" runat="server" Text="<%$ Resources:Content,strContactPLastName%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ContactPLastName" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal152" runat="server" Text="<%$ Resources:Content,strEstRevDescription%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_EstRevDescription" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal153" runat="server" Text="<%$ Resources:Content,strNoOfBranches%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_NoOfBranches" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal154" runat="server" Text="<%$ Resources:Content,strEstStatusIndicator%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_EstStatusIndicator" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal155" runat="server" Text="<%$ Resources:Content,strDateOfChangeinFile%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_DateOfChangeinFile" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal156" runat="server" Text="<%$ Resources:Content,strImporter%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Importer" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal157" runat="server" Text="<%$ Resources:Content,strExporter%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Exporter" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal158" runat="server" Text="<%$ Resources:Content,strSubsidiary%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Subsidiary" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal159" runat="server" Text="<%$ Resources:Content,strParentOfSubsiduray%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_ParentOfSubsiduray" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal160" runat="server" Text="<%$ Resources:Content,strFranchisor%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Franchisor" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal161" runat="server" Text="<%$ Resources:Content,strFranchisee%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Franchisee" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal162" runat="server" Text="<%$ Resources:Content,strTwitterAccount%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_TwitterAccount" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal163" runat="server" Text="<%$ Resources:Content,strFacebookAccount%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_FacebookAccount" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal164" runat="server" Text="<%$ Resources:Content,strLinkedInAccount%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_LinkedInAccount" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal165" runat="server" Text="<%$ Resources:Content,strWebShop%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_WebShop" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal166" runat="server" Text="<%$ Resources:Content,strThuiswinkel%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Thuiswinkel" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal167" runat="server" Text="<%$ Resources:Content,strGoogleAnalytics%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_GoogleAnalytics" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal168" runat="server" Text="<%$ Resources:Content,strFamilyBusiness%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_FamilyBusiness" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal169" runat="server" Text="<%$ Resources:Content,strGrowingEmployee%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_GrowingEmployee" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal170" runat="server" Text="<%$ Resources:Content,strStable%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_Stable" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal171" runat="server" Text="<%$ Resources:Content,strCSRSealOfApproval%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_CSRSealOfApproval" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal172" runat="server" Text="<%$ Resources:Content,strCEBUCOArea%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_CEBUCOArea" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal173" runat="server" Text="<%$ Resources:Content,strCOROPRegionCode%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_COROPRegionCode" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal174" runat="server" Text="<%$ Resources:Content,strEGGArea%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_EGGArea" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal175" runat="server" Text="<%$ Resources:Content,strNielsenDistrict%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_NielsenDistrict" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal176" runat="server" Text="<%$ Resources:Content,strWaterBoardArea%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_WaterBoardArea" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal177" runat="server" Text="<%$ Resources:Content,strACN_X%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ACN_X" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal178" runat="server" Text="<%$ Resources:Content,strACN_Y%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_ACN_Y" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal179" runat="server" Text="<%$ Resources:Content,strETRS89_X%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_ETRS89_X" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal180" runat="server" Text="<%$ Resources:Content,strETRS89_Y%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_ETRS89_Y" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal181" runat="server" Text="<%$ Resources:Content,strIndicationOfMove%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_IndicationOfMove" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal182" runat="server" Text="<%$ Resources:Content,strIndCorporateBuilding%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_IndCorporateBuilding" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal183" runat="server" Text="<%$ Resources:Content,strEconomicallyActive%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_EconomicallyActive" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal184" runat="server" Text="<%$ Resources:Content,strNonMailing%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_NonMailing" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal185" runat="server" Text="<%$ Resources:Content,strSurseance%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_Surseance" runat="server"></div>
                                                    </div>


                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal186" runat="server" Text="<%$ Resources:Content,strSurseanceRevoked%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_SurseanceRevoked" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal187" runat="server" Text="<%$ Resources:Content,strBankruptcyAnnulled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12" id="Td_BankruptcyAnnulled" runat="server"></div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal188" runat="server" Text="<%$ Resources:Content,strDeRegistered%>" EnableViewState="false" />:
                                                        </div>
                                                         <div class="col-sm-7 col-xs-12" id="Td_DeRegistered" runat="server"></div>
                                                    </div>

                                                </div>

                                                <div id="Tbl_Edit" runat="server">

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            *
                                                      <asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN0000371%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadSubject" runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RFV_Subject" runat="server" ControlToValidate="TxBx_LeadSubject"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Lead"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            *
                               <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN00001132%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadFirstName" runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_LeadFirstName"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Lead"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            *
                               <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN00001133%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadLastName" runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TxBx_LeadLastName"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Lead"></asp:RequiredFieldValidator>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            *
                               <asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,GN0000652%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadEmail" runat="server"></asp:TextBox>
                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TxBx_LeadEmail"
                                                                        Display="None" SetFocusOnError="True" ValidationGroup="Lead"></asp:RequiredFieldValidator>
                                                                   <%-- <asp:RegularExpressionValidator ID="RegularExpressionValidator6" runat="server" ErrorMessage='<%$ Resources:Content,DGN1110038%>'
                                                                        ControlToValidate="TxBx_LeadEmail" Display="None" SetFocusOnError="True" ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>"
                                                                        ValidationGroup="Lead" />--%>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,DGN1110362%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadBusinessPhone" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN00001077%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadCompanyName" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal45" runat="server" Text="<%$ Resources:Content,GN0000597%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-9 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:TextBox ID="TxBx_LeadDescription" TextMode="MultiLine" CssClass="col-xs-12" Rows="10" runat="server"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,GN00008222%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadWebsite" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,Lvknumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadLVKNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal10" runat="server" Text="<%$ Resources:Content,DGN1110382%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadHomePhone" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN0000885%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadMobilePhone" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,DGN1110383%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadPager" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN0000886%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadFax" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,GN0000878%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadAddress1" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,GN00001136%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadAddress2" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,GN0000880%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadCity" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,GN00001313%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadStateProvince" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,GN00001522%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadZIPPostalCode" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal131" runat="server" Text="<%$ Resources:Content,GN0000882%>" EnableViewState="false" />:                                                                     
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_Country" runat="server">
                                                                </asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal71" runat="server" Text="<%$ Resources:Content,strStreetName%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_StreetName" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal72" runat="server" Text="<%$ Resources:Content,strHouseNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_HouseNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal73" runat="server" Text="<%$ Resources:Content,strAdditionHouseNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_AdditionHouseNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal74" runat="server" Text="<%$ Resources:Content,strMunicipality%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_Municipality" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal75" runat="server" Text="<%$ Resources:Content,strPOBoxNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_POBoxNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal76" runat="server" Text="<%$ Resources:Content,strPOBoxZIP%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_POBoxZIP" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal77" runat="server" Text="<%$ Resources:Content,strPOBoxCity%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_POBoxCity" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal78" runat="server" Text="<%$ Resources:Content,strPhoneNetNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_PhoneNetNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal79" runat="server" Text="<%$ Resources:Content,strPhoneSubscriptionNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_PhoneSubscriptionNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,Annualrevenue%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadAnnualRevenue" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,Employeescount%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadEmployeesCount" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,Naicscode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadNAICSCode" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal22" runat="server" Text="<%$ Resources:Content,Siscode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadSISCode" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal29" runat="server" Text="<%$ Resources:Content,GN0000850%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CustomerId" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal30" runat="server" Text="<%$ Resources:Content,GN0000831%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadPGID" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,GN0000673%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadTypeId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal32" runat="server" Text="<%$ Resources:Content,Currentstatus%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadCurrentStatusId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal33" runat="server" Text="<%$ Resources:Content,Rating%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadRatingId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal34" runat="server" Text="<%$ Resources:Content,String385%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadStatusId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal35" runat="server" Text="<%$ Resources:Content,Statusreason%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadStatusReasonId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal36" runat="server" Text="<%$ Resources:Content,Lync362%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadRegionId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal37" runat="server" Text="<%$ Resources:Content,SMI1898%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadSourceId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal38" runat="server" Text="<%$ Resources:Content,Industry%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadIndustryId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal39" runat="server" Text="<%$ Resources:Content,Owneremployee%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadOwnerEmployeeId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal40" runat="server" Text="<%$ Resources:Content,Sourcecompaign%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadSourceCompaignId" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal41" runat="server" Text="<%$ Resources:Content,Contactmethod%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DDL_LeadContactMethodId" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" style="display: none">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal42" runat="server" Text="<%$ Resources:Content,Lastcompaign%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LeadLastCompaignId" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,Emailenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LeadEmailEnabled" runat="server" Text=" "></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal24" runat="server" Text="<%$ Resources:Content,Phoneenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LeadPhoneEnabled" runat="server" Text=" "></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,Bulkemailenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LeadBulkEmailEnabled" runat="server" Text=" "></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal26" runat="server" Text="<%$ Resources:Content,Faxenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LeadFaxEnabled" runat="server" Text=" "></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal27" runat="server" Text="<%$ Resources:Content,Exch011%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LeadMailEnabled" runat="server" Text=" "></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal28" runat="server" Text="<%$ Resources:Content,Marketingmaterialenabled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LeadMarketingMaterialEnabled" runat="server" Text=" "></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row" id="rowActivityTemp" runat="server">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal46" runat="server" Text="<%$ Resources:Content,strActivityTemplate%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:DropDownList ID="DdlActivityTemplates" runat="server"></asp:DropDownList>
                                                            </div>
                                                        </div>
                                                    </div>


                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal47" runat="server" Text="<%$ Resources:Content,strUniqueID %>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_UniqueID" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal48" runat="server" Text="<%$ Resources:Content,strFileNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_FileNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal51" runat="server" Text="<%$ Resources:Content,strSubFileNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SubFileNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal61" runat="server" Text="<%$ Resources:Content,strEstablishmentNumber%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_EstablishmentNumber" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal69" runat="server" Text="<%$ Resources:Content,strBranchIndication%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_BranchIndication" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal70" runat="server" Text="<%$ Resources:Content,strCompanyNameInCOC%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CompanyNameInCOC" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>




                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal80" runat="server" Text="<%$ Resources:Content,strLegalForm%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_LegalForm" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal81" runat="server" Text="<%$ Resources:Content,strSBI%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SBI" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal82" runat="server" Text="<%$ Resources:Content,strSBICode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SBICode" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal83" runat="server" Text="<%$ Resources:Content,strSBIAncillaryOne%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SBIAncillaryOne" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal84" runat="server" Text="<%$ Resources:Content,strSBIAncillaryOneCode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SBIAncillaryOneCode" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal85" runat="server" Text="<%$ Resources:Content,strSBIAncillaryTwo%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SBIAncillaryTwo" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal86" runat="server" Text="<%$ Resources:Content,strDateOfEstablishment%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group display-date-input">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DateOfEstablishment" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <i runat="server" id="A_DateOfEstablishment" class="material-icons icon-calendar col-calendar"></i>
                                                            <EM:CalendarExtender ID="CE_DateOfEstablishment" runat="server" TargetControlID="TxBx_DateOfEstablishment"
                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                PopupButtonID="A_FromDate" CssClass="date__calendar">
                                                            </EM:CalendarExtender>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal87" runat="server" Text="<%$ Resources:Content,strDescClassOfEmployed%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DescClassOfEmployed" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal88" runat="server" Text="<%$ Resources:Content,strContactPFunction%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ContactPFunction" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal89" runat="server" Text="<%$ Resources:Content,strContactPGender%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:RadioButtonList ID="Rdb_ContactPGender" runat="server" RepeatDirection="Horizontal">
                                                                    <asp:ListItem Text="<%$ Resources:Content,Male%>" Selected="True" Value="M"></asp:ListItem>
                                                                    <asp:ListItem Text="<%$ Resources:Content,Female%>" Value="F"></asp:ListItem>
                                                                </asp:RadioButtonList>
                                                                <%--<div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ContactPGender" runat="server"></asp:TextBox>
                                                                </div>--%>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal90" runat="server" Text="<%$ Resources:Content,strContactPTitle%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ContactPTitle" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal91" runat="server" Text="<%$ Resources:Content,strContactPInitial%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ContactPInitial" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal92" runat="server" Text="<%$ Resources:Content,strContactPInfix%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ContactPInfix" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal93" runat="server" Text="<%$ Resources:Content,strContactPLastName%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ContactPLastName" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal94" runat="server" Text="<%$ Resources:Content,strEstRevDescription%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_EstRevDescription" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal95" runat="server" Text="<%$ Resources:Content,strNoOfBranches%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_NoOfBranches" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal96" runat="server" Text="<%$ Resources:Content,strEstStatusIndicator%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_EstStatusIndicator" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal97" runat="server" Text="<%$ Resources:Content,strDateOfChangeinFile%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DateOfChangeinFile" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal98" runat="server" Text="<%$ Resources:Content,strImporter%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Importer" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal99" runat="server" Text="<%$ Resources:Content,strExporter%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Exporter" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal100" runat="server" Text="<%$ Resources:Content,strSubsidiary%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Subsidiary" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal101" runat="server" Text="<%$ Resources:Content,strParentOfSubsiduray%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_ParentOfSubsiduray" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal102" runat="server" Text="<%$ Resources:Content,strFranchisor%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Franchisor" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal130" runat="server" Text="<%$ Resources:Content,strFranchisee%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Franchisee" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal103" runat="server" Text="<%$ Resources:Content,strTwitterAccount%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_TwitterAccount" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal104" runat="server" Text="<%$ Resources:Content,strFacebookAccount%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_FacebookAccount" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal105" runat="server" Text="<%$ Resources:Content,strLinkedInAccount%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_LinkedInAccount" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal106" runat="server" Text="<%$ Resources:Content,strWebShop%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_WebShop" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal107" runat="server" Text="<%$ Resources:Content,strThuiswinkel%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Thuiswinkel" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal108" runat="server" Text="<%$ Resources:Content,strGoogleAnalytics%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_GoogleAnalytics" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal109" runat="server" Text="<%$ Resources:Content,strFamilyBusiness%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_FamilyBusiness" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal110" runat="server" Text="<%$ Resources:Content,strGrowingEmployee%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_GrowingEmployee" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal111" runat="server" Text="<%$ Resources:Content,strStable%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_Stable" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal112" runat="server" Text="<%$ Resources:Content,strCSRSealOfApproval%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_CSRSealOfApproval" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal113" runat="server" Text="<%$ Resources:Content,strCEBUCOArea%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_CEBUCOArea" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal114" runat="server" Text="<%$ Resources:Content,strCOROPRegionCode%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_COROPRegionCode" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal115" runat="server" Text="<%$ Resources:Content,strEGGArea%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_EGGArea" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal116" runat="server" Text="<%$ Resources:Content,strNielsenDistrict%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_NielsenDistrict" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal117" runat="server" Text="<%$ Resources:Content,strWaterBoardArea%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_WaterBoardArea" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal118" runat="server" Text="<%$ Resources:Content,strACN_X%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ACN_X" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal119" runat="server" Text="<%$ Resources:Content,strACN_Y%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ACN_Y" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal120" runat="server" Text="<%$ Resources:Content,strETRS89_X%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ETRS89_X" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal121" runat="server" Text="<%$ Resources:Content,strETRS89_Y%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_ETRS89_Y" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal122" runat="server" Text="<%$ Resources:Content,strIndicationOfMove%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_IndicationOfMove" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal123" runat="server" Text="<%$ Resources:Content,strIndCorporateBuilding%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_IndCorporateBuilding" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal124" runat="server" Text="<%$ Resources:Content,strEconomicallyActive%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_EconomicallyActive" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal125" runat="server" Text="<%$ Resources:Content,strNonMailing%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <asp:CheckBox ID="CB_NonMailing" Text=" " runat="server"></asp:CheckBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal126" runat="server" Text="<%$ Resources:Content,strSurseance%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group display-date-input">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_Surseance" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <i runat="server" id="A_Surseance" class="material-icons icon-calendar col-calendar"></i>
                                                            <EM:CalendarExtender ID="CE_Surseance" runat="server" TargetControlID="TxBx_Surseance"
                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                PopupButtonID="A_Surseance" CssClass="date__calendar">
                                                            </EM:CalendarExtender>
                                                        </div>
                                                    </div>


                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal127" runat="server" Text="<%$ Resources:Content,strSurseanceRevoked%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group display-date-input">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_SurseanceRevoked" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <i runat="server" id="A_SurseanceRevoked" class="material-icons icon-calendar col-calendar"></i>
                                                            <EM:CalendarExtender ID="CE_SurseanceRevoked" runat="server" TargetControlID="TxBx_SurseanceRevoked"
                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                PopupButtonID="A_SurseanceRevoked" CssClass="date__calendar">
                                                            </EM:CalendarExtender>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal128" runat="server" Text="<%$ Resources:Content,strBankruptcyAnnulled%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group display-date-input">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_BankruptcyAnnulled" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <i runat="server" id="A_BankruptcyAnnulled" class="material-icons icon-calendar col-calendar"></i>
                                                            <EM:CalendarExtender ID="CE_BankruptcyAnnulled" runat="server" TargetControlID="TxBx_BankruptcyAnnulled"
                                                                Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                PopupButtonID="A_BankruptcyAnnulled" CssClass="date__calendar">
                                                            </EM:CalendarExtender>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-sm-3 col-xs-12 row-label">
                                                            <asp:Literal ID="Literal129" runat="server" Text="<%$ Resources:Content,strDeRegistered%>" EnableViewState="false" />:
                                                        </div>
                                                        <div class="col-sm-7 col-xs-12">
                                                            <div class="form-group">
                                                                <div class="form-line">
                                                                    <asp:TextBox ID="TxBx_DeRegistered" runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <div class="card">
                                                                <div class="header">
                                                                    <h3><%= Resources.Content.strLeadNotes%>  </h3>
                                                                </div>
                                                                <div class="body">
                                                                    <div class="row">
                                                                        <div class="col-xs-12">
                                                                            <asp:GridView CssClass="table table-bordered table-hover table-responsive table-striped" BorderStyle="None" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                                                ID="GV_LeadNotes" runat="server" AutoGenerateColumns="false" AllowPaging="false">
                                                                                <Columns>

                                                                                    <asp:TemplateField>
                                                                                        <ItemTemplate>
                                                                                            <div class="comment user">
                                                                                                <div id="Div_Notes" runat="server" class="commentMessageTech"></div>
                                                                                                <div id="Div1" class="commentMessageTech">
                                                                                                    <i>
                                                                                                        <asp:Label ID="Td_Employee" runat="server" />
                                                                                                        -
                                                                                                      <asp:Label ID="Td_Date" runat="server" /></i>
                                                                                                </div>
                                                                                            </div>
                                                                                        </ItemTemplate>

                                                                                        <AlternatingItemTemplate>
                                                                                            <div class="comment user">
                                                                                                <div id="Div_Notes" runat="server" class="commentMessageUser"></div>
                                                                                                <div id="Div1" class="commentMessageUser">
                                                                                                    <i>
                                                                                                        <asp:Label ID="Td_Employee" runat="server" />
                                                                                                        -
                                                                                                        <asp:Label ID="Td_Date" runat="server" /></i>
                                                                                                </div>
                                                                                            </div>
                                                                                        </AlternatingItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%> " HeaderStyle-Width="15%">
                                                                                        <ItemTemplate>

                                                                                            <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="LB_Edit" runat="server" Text="<%$ Resources:Content,GN0000276%>" CommandName="Edit_Notes" SkinID="linkButtonStarted" />
                                                                                            <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LB_Delete" runat="server" Text="<%$ Resources:Content,GN0000377%>"
                                                                                                SkinID="linkButtonDelete" CommandName="Delete_Notes" />
                                                                                            <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,DGN1119974%>"
                                                                                                TargetControlID="LB_Delete" runat="server">
                                                                                            </EM:ConfirmButtonExtender>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>

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


                                                    <div class="row" id="Div_Notes" runat="server">
                                                        <div class="col-xs-12">
                                                            <div class="card">
                                                                <div class="header">
                                                                    <h3><%= Resources.Content.GN00001336%>  </h3>
                                                                </div>
                                                                <div class="body">
                                                                    <div class="row">
                                                                        <div class="col-xs-12">
                                                                            <div class="form-group">
                                                                                <asp:TextBox ID="TxBx_LeadNote" CssClass="col-xs-12" Rows="5" TextMode="MultiLine"
                                                                                    runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                        <div class="col-xs-12">
                                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" SkinID="saveButton" ValidationGroup="save" ID="btn_SaveLeadNote" runat="server" Text="<%$ Resources:Content,GN0000281%>" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>

                                                    <div class="row">
                                                        <div class="col-xs-12">
                                                            <asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="true" ShowSummary="false"
                                                                ValidationGroup="Lead" HeaderText="<%$ Resources:Content,EM000001%>" />

                                                            <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_SaveLead" ValidationGroup="Lead" runat="server" Text="<%$ Resources:Content,GN0000281%>" SkinID="defaultButton" />

                                                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Cancel" runat="server" Text="<%$ Resources:Content,GN0000572%>" SkinID="defaultButton" />

                                                        </div>
                                                    </div>

                                                </div>
                                            </div>



                                        </div>


                                    </div>




                                </div>
                                </div>
                                </div>
                                </div>
                                </div>
                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                    <EM:TabPanel ID="Tab_LeadActivity" runat="server" HeaderText='Activity Detail'>
                        <ContentTemplate>
                            <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Tab1" runat="server" Style="display: none;" />

                            <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                                <asp:Panel ID="Pnl_ActivityListing" runat="server">
                                    <div class="row Div_OpsRow" id="DivAddActivityOp" runat="server">
                                        <div class="col-xs-12">
                                            <div class="card">
                                                <div class="header">
                                                    <h3><%= Resources.Content.GN00001320%>  </h3>
                                                </div>
                                                <div class="body">

                                                    <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_AddTask" runat="server"
                                                        Text="<%$ Resources:Content,Newtask%>" />

                                                    <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_AddPhoneCall" runat="server"
                                                        Text="<%$ Resources:Content,Newphonecall%>" />


                                                    <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_AddAppointment" runat="server"
                                                        Text="<%$ Resources:Content,Newappointment%>" />

                                                    <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_Email" runat="server"
                                                        Text="<%$ Resources:Content,GN0000652%>" />

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

                                    <asp:Panel ID="Pnl_Filter" runat="server" DefaultButton="Btn_Search">
                                        <div class="row">
                                            <div class="panel-group search-panel" id="AS_LeadList" role="tablist" aria-multiselectable="true">
                                                <div class="col-xs-12" role="tab" id="SH_LeadList">
                                                    <div class="card">
                                                        <div class="header" role="button" data-toggle="collapse" data-parent="#AS_LeadList" href="#<%= CSB_LeadList.ClientID %>" aria-expanded="true" aria-controls="SH_LeadList">
                                                            <h3>
                                                                <%= Resources.Content.GN0000395%>
                                                            </h3>
                                                        </div>
                                                        <div id="CSB_LeadList" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_LeadList" aria-expanded="false">
                                                            <div class="row">
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="td_Owner">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDL_ActivityType" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div2">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDL_ActivityStatus" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12" runat="server" id="Div3">
                                                                    <div class="form-group form-float">
                                                                        <asp:DropDownList ID="DDL_ActivityPriority" runat="server"></asp:DropDownList>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ActivitySubject" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Ltrl_SelectView" runat="server" Text="<%$ Resources:Content,GN0000371%>"
                                                                                EnableViewState="false" CssClass="form-label" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="col-md-3 col-sm-6 col-xs-12">
                                                                    <div class="form-group form-float">
                                                                        <div class="form-line">
                                                                            <asp:TextBox ID="TxBx_ActivityDescription" runat="server"></asp:TextBox>
                                                                            <asp:Label ID="Literal44" runat="server" Text="<%$ Resources:Content,GN0000597%>"
                                                                                EnableViewState="false" CssClass="form-label" />
                                                                        </div>
                                                                    </div>
                                                                </div>

                                                                <div style="display: none">
                                                                    <div>
                                                                        <asp:Literal ID="Literal49" runat="server" Text="<%$ Resources:Content,GN0000687%>" EnableViewState="false" />

                                                                    </div>
                                                                    <div>
                                                                        <asp:Literal ID="Literal50" runat="server" Text="<%$ Resources:Content,GN0000688%>" EnableViewState="false" />

                                                                    </div>
                                                                </div>
                                                                <div style="display: none">
                                                                    <div>

                                                                        <asp:TextBox CssClass="txBxDate" ID="TxBx_DRangeAfter" Enabled="false" runat="server"></asp:TextBox>
                                                                        <i runat="server" id="A_DRangeAfter" class="material-icons icon-calendar col-calendar"></i>
                                                                        <EM:CalendarExtender ID="CE_DRangeAfter" runat="server" TargetControlID="TxBx_DRangeAfter"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_DRangeAfter" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </div>
                                                                    <div>

                                                                        <asp:TextBox CssClass="txBxDate" ID="TxBx_DRangeBefore" Enabled="false" runat="server"></asp:TextBox>
                                                                        <i runat="server" id="A_DRangeBefore" class="material-icons icon-calendar col-calendar"></i>
                                                                        <EM:CalendarExtender ID="CE_DRangeBefore" runat="server" TargetControlID="TxBx_DRangeBefore"
                                                                            Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                                            PopupButtonID="A_DRangeBefore" CssClass="date__calendar">
                                                                        </EM:CalendarExtender>
                                                                    </div>

                                                                </div>
                                                                <div class="col-xs-12">
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Search" SkinID="searchButton" runat="server" Text="<%$ Resources:Content,GN0000391%>" />
                                                                    <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_Clear" Visible="false" SkinID="searchButton" runat="server" Text="<%$ Resources:Content,String289 %>" /></td>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </asp:Panel>

                                    <asp:GridView CssClass="table table-bordered table-hover table-responsive table-striped" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                        ID="GV_List" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="False">
                                        <AlternatingRowStyle CssClass="altRow" />
                                        <Columns>
                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000371%>" SortExpression="ActivitySubject"
                                                HeaderStyle-CssClass="col-xs-6">
                                                <ItemTemplate>
                                                    <asp:LinkButton ID="Lb_Subject" runat="server" Text='<%#DataBinder.Eval(Container, "DataItem.ActivitySubject")%>'
                                                        CommandArgument='<%# Eval("LeadActivityId")%>' CommandName="ShowDetail"></asp:LinkButton>
                                                </ItemTemplate>
                                            </asp:TemplateField>

                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000673%>"
                                                HeaderStyle-CssClass="col-xs-1">
                                                <ItemTemplate>
                                                    <asp:Label ID="Lbl_ActivityType" runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="<%$ Resources:Content,String385%>"
                                                HeaderStyle-CssClass="col-xs-1">
                                                <ItemTemplate>
                                                    <asp:Label ID="Lbl_Status" runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0001300%>"
                                                HeaderStyle-CssClass="col-xs-1">
                                                <ItemTemplate>
                                                    <asp:Label ID="Lbl_Priority" runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000722%>" SortExpression="DueDate"
                                                HeaderStyle-CssClass="col-xs-2">
                                                <ItemTemplate>
                                                    <asp:Label ID="Lbl_DueDate" runat="server"></asp:Label>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                            <asp:TemplateField HeaderText="<%$ Resources:Content, GN0000360 %>" HeaderStyle-CssClass="col-xs-1">
                                                <ItemTemplate>
                                                    <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LBtn_Remove" runat="server" Text="<%$Resources:Content,GN0000278 %>"
                                                        CommandArgument='<%# Eval("LeadActivityId")%>' CommandName="RemoveActivity"></asp:LinkButton>
                                                    <EM:ConfirmButtonExtender ID="CBE_Remove" runat="server" TargetControlID="LBtn_Remove"></EM:ConfirmButtonExtender>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                        <PagerTemplate>
                                            <EM:Pager ID="Pager1" runat="server" />
                                        </PagerTemplate>
                                    </asp:GridView>
                                </asp:Panel>
                                <asp:Panel ID="Pnl_Activity" runat="server" Visible="false">
                                    <div id="Table2" runat="server">
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                              <asp:Literal ID="Literal52" runat="server" Text="<%$ Resources:Content,GN0000371%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_LeadActivitySubject" runat="server"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxBx_LeadActivitySubject"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="Activity"></asp:RequiredFieldValidator>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                              <asp:Literal ID="Literal53" runat="server" Text="<%$ Resources:Content,GN0000597%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-7 col-xs-12">
                                                <div class="form-group">
                                                    <asp:TextBox ID="TxBx_LeadActivityDescription" TextMode="MultiLine" CssClass="col-xs-12" Rows="15" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxBx_LeadActivityDescription"
                                                        Display="None" SetFocusOnError="True" ValidationGroup="Activity"></asp:RequiredFieldValidator>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="TR_AttendesRequired" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                              <asp:Literal ID="Literal62" runat="server" Text="<%$ Resources:Content,AttendeesRequired%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-9 col-xs-12">
                                                <div class="form-group">
                                                    <asp:TextBox ID="TxBx_LeadAttendesRequired" TextMode="MultiLine" CssClass="col-xs-12" Rows="5" runat="server"></asp:TextBox>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TxBx_LeadAttendesRequired"
                                                        Display="None" SetFocusOnError="True" ValidationGroup="Activity"></asp:RequiredFieldValidator>
                                                    <asp:Literal ID="Ltl_Help1" runat="server" Text="Comma separated list of Name or Email."></asp:Literal>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="TR_AttendesOptional" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal63" runat="server" Text="<%$ Resources:Content,AttendeesOptional%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-9 col-xs-12">
                                                <div class="form-group">
                                                    <asp:TextBox ID="TxBx_LeadAttendesOptional" TextMode="MultiLine" CssClass="col-xs-12" Rows="5" runat="server"></asp:TextBox>
                                                    <asp:Literal ID="Literal64" runat="server" Text="Comma separated list of Name or Email."></asp:Literal>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="TR_Location" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal65" runat="server" Text="<%$ Resources:Content,GN0001223%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_LeadActivityLocation" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal54" runat="server" Text="<%$ Resources:Content,SPT002811%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_LeadActivityOwner" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="TR_CallFrom" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal67" runat="server" Text="<%$ Resources:Content,Callfrom%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CallFrom" runat="server"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TxBx_CallFrom"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="Activity"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                                            ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_CallFrom"
                                                            Display="None" SetFocusOnError="True" ValidationExpression="^([+]?[\s0-9()-]{5,20})$"
                                                            ValidationGroup="Activity"></asp:RegularExpressionValidator>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" id="TR_CallTo" runat="server">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal60" runat="server" Text="<%$ Resources:Content,Callto%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_CallTo" runat="server"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TxBx_CallTo"
                                                            Display="None" SetFocusOnError="True" ValidationGroup="Activity"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                                            ID="RegularExpressionValidator11" runat="server" ControlToValidate="TxBx_CallTo"
                                                            Display="None" SetFocusOnError="True" ValidationExpression="^([+]?[\s0-9()-]{5,20})$"
                                                            ValidationGroup="Activity"></asp:RegularExpressionValidator>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row" runat="server" id="TR_Direction">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal66" runat="server" Text="<%$ Resources:Content,Calldirection%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_Direction" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row" runat="server" id="TR_Outcome">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal68" runat="server" Text="<%$ Resources:Content,Calloutcome%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_Outcome" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal55" runat="server" Text="<%$ Resources:Content,String385%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_LeadActivityStatus" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal56" runat="server" Text="<%$ Resources:Content,GN0001300%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_LeadActivityPriority" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                                             <asp:Literal ID="Literal57" runat="server" Text="<%$ Resources:Content,OCS007%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_LeadActivityDuration" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal58" runat="server" Text="<%$ Resources:Content,GN0000722%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group display-date-input">
                                                    <div class="form-line">
                                                        <asp:TextBox CssClass="txBxDate" ID="TxBx_LeadActivityDueDate" Enabled="false" runat="server"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <%--<asp:Image ImageUrl="~/images/icons/SmallCalendar.png" runat="server" ID="Image1" />--%>
                                                <EM:CalendarExtender ID="CE_LeadActivityDueDate" runat="server" TargetControlID="TxBx_LeadActivityDueDate"
                                                    Format="<%# System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern %>"
                                                    PopupButtonID="A_LeadActivityDuration" CssClass="date__calendar">
                                                </EM:CalendarExtender>
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:DropDownList ID="DDL_LeadActivityDueDateTime" runat="server"></asp:DropDownList>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *
                               <asp:Literal ID="Literal59" runat="server" Text="<%$ Resources:Content,GN00001337%>" EnableViewState="false" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div>
                                                        <input id="Attachment" type="file" runat="server" size="50" />

                                                    </div>
                                                    <asp:HiddenField ID="HF_PostType" runat="server" Value="-1" />
                                                    <%--<div id="Div_NoAttachedFiles" runat="server" style="color: blue">No attachments.</div>--%>
                                                </div>
                                            </div>
                                            <div class="col-sm-6 col-xs-12">
                                                <div class="form-group">
                                                    <asp:Button CssClass="btn btn-primary waves-effect" SkinID="goButton" ID="Btn_Upload" runat="server" Text="<%$ Resources:Content,DGN1110451%>" />
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                            </div>
                                            <div class="col-sm-10 col-xs-12">
                                                <div class="form-group">
                                                    <asp:GridView ID="GV_Attachment" HorizontalAlign="center" runat="server"
                                                        AutoGenerateColumns="False" CssClass="table table-bordered table-hover table-responsive table-striped" GridLines="None" AllowPaging="false">
                                                        <Columns>
                                                            <asp:TemplateField HeaderStyle-CssClass="col-xs-9" HeaderText="<%$ Resources:Content,DGN1110452%>" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <div id="Div_FileName" runat="server">
                                                                    </div>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderStyle-CssClass="col-xs-3" HeaderText="<%$ Resources:Content,GN0000360%>" HeaderStyle-HorizontalAlign="Left">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" CommandName="Download" ID="LB_Download" runat="server" Text="Download"></asp:LinkButton>
                                                                    <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" CommandName="Remove" ID="LB_Remove" runat="server" Text="<%$ Resources:Content,GN0000278%>" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                        </Columns>
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.strActivityNotes%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <asp:GridView CssClass="table table-bordered table-hover table-responsive table-striped" BorderStyle="None" EmptyDataText="<%$ Resources:Content, GN00001375 %>"
                                                                    ID="GV_Notes" runat="server" AutoGenerateColumns="false" AllowPaging="false">
                                                                    <Columns>

                                                                        <asp:TemplateField>
                                                                            <ItemTemplate>
                                                                                <div class="comment user">
                                                                                    <div id="Div_Notes" runat="server" class="commentMessageTech"></div>
                                                                                    <div id="Div1" class="commentMessageTech">
                                                                                        <i>
                                                                                            <asp:Label ID="Td_Employee" runat="server" />
                                                                                            -
                                                                                <asp:Label ID="Td_Date" runat="server" /></i>
                                                                                    </div>
                                                                                </div>
                                                                            </ItemTemplate>

                                                                            <AlternatingItemTemplate>
                                                                                <div class="comment user">
                                                                                    <div id="Div_Notes" runat="server" class="commentMessageUser"></div>
                                                                                    <div id="Div1" class="commentMessageUser">
                                                                                        <i>
                                                                                            <asp:Label ID="Td_Employee" runat="server" />
                                                                                            -
                                                                                <asp:Label ID="Td_Date" runat="server" /></i>
                                                                                    </div>
                                                                                </div>
                                                                            </AlternatingItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="<%$ Resources:Content,GN0000360%> " HeaderStyle-Width="15%">
                                                                            <ItemTemplate>

                                                                                <asp:LinkButton CssClass="btn btn-primary waves-effect" ID="LB_Edit" runat="server" Text="<%$ Resources:Content,GN0000276%>" CommandName="Edit_Notes" SkinID="linkButtonStarted" />
                                                                                <asp:LinkButton CssClass="btn btn-primary waves-effect btnAction" ID="LB_Delete" runat="server" Text="<%$ Resources:Content,GN0000377%>"
                                                                                    SkinID="linkButtonDelete" CommandName="Delete_Notes" />
                                                                                <EM:ConfirmButtonExtender ID="CBE_Remove" ConfirmText="<%$ Resources:Content,DGN1119974%>"
                                                                                    TargetControlID="LB_Delete" runat="server">
                                                                                </EM:ConfirmButtonExtender>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>

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


                                        <div class="row">
                                            <div class="col-xs-12">
                                                <div class="card">
                                                    <div class="header">
                                                        <h3><%= Resources.Content.GN00001336%>  </h3>
                                                    </div>
                                                    <div class="body">
                                                        <div class="row">
                                                            <div class="col-xs-12">
                                                                <div class="form-group">
                                                                    <asp:TextBox ID="TxBx_Notes" CssClass="col-xs-12" Rows="5" TextMode="MultiLine"
                                                                        runat="server"></asp:TextBox>
                                                                </div>
                                                            </div>
                                                            <div class="col-xs-12">
                                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" SkinID="saveButton" ValidationGroup="save" ID="Btn_AddNote" runat="server" Text="<%$ Resources:Content,GN0000281%>" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <%-- Validation Logic START--%>
                                        <asp:ValidationSummary ShowMessageBox="true" ShowSummary="false" ID="ValidationSummary1" HeaderText='<%$ Resources:Content,EM000001 %>'
                                            runat="server" ValidationGroup="save" />
                                        <asp:RequiredFieldValidator Display="None" ID="RFV_Notes" ControlToValidate="TxBx_Notes"
                                            runat="server" ErrorMessage='Forget to enter notes?' ValidationGroup="save" SetFocusOnError="True"></asp:RequiredFieldValidator>
                                        <%-- Validation Logic END--%>


                                        <div class="row">
                                            <div class="col-xs-12">
                                                <asp:ValidationSummary ShowMessageBox="true" ShowSummary="false" ID="ValidationSummary2" HeaderText='<%$ Resources:Content,EM000001 %>'
                                                    runat="server" ValidationGroup="Activity" />
                                                <asp:Button CssClass="btn btn-primary waves-effect btnAction" ID="Btn_SaveActivity" runat="server" SkinID="saveButton" Text="<%$ Resources:Content,GN0000281%>" ValidationGroup="Activity" />

                                                <asp:Button CssClass="btn btn-primary waves-effect" ID="Btn_CancelActivity" runat="server" SkinID="cancelButton" Text="<%$ Resources:Content,GN0000572%>" CausesValidation="false" />

                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>

                                <div class="row">
                                    <UC:ViewTickets ID="ViewTickets1" Visible="false" runat="server" />
                                    <UC:SubmitTicket ID="SubmitTicket1" Visible="false" runat="server" />
                                </div>

                            </asp:Panel>
                        </ContentTemplate>
                    </EM:TabPanel>
                </EM:TabContainer>
            </div>
        </div>
    </div>
</asp:Content>

