<%@ page language="C#" autoeventwireup="true" inherits="Pages_MaterialManagement_Procurement_VendorMaster, App_Web_tvvzwpls" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl"
    TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl"
    TagPrefix="ScreenGroup" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage" class="divcontentpagemargin">
                <!-- ContentPlaceHolder Box Starts -->

                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <%-- <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                            <asp:Label runat="server" ID="ScreenGroupNameLabel"></asp:Label>    
                                            </div>
                                        </div>
                                    </div>--%>
                        <table>
                            <tr>
                                <td>
                                    <div class="himsBoxContent">
                                        <div class="leftUlMenu">
                                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="207"
                                                Visible="true" runat="server" />
                                        </div>
                                    </div>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <div class="card card-box">
                        <div class="himssuHeader2WireBox" id="SearchDiv" runat="server">
                            <div class="himsBoxHeader card-head">
                                <asp:Panel ID="Panel1" runat="server" meta:resourcekey="Panel1Resource1">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle" style="margin-top: -26px">
                                        <asp:Image ID="Image2" runat="server" class="fLeft"
                                            meta:resourcekey="Image2Resource1" />
                                        <div class="headerText">
                                            <header>
                                                <i class="fas fa-search"></i>
                                                <asp:Label ID="Label3" runat="server" Text="Search"
                                                    meta:resourcekey="Label3Resource1"></asp:Label>
                                            </header>
                                            <%-- <cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="DetailPanel"
                                                        ExpandControlID="Image2" CollapseControlID="Image2" TextLabelID="Label3" Collapsed="True"
                                                        ImageControlID="Image2" ExpandedImage="~/images/buttonCollapse.gif"
                                                        CollapsedImage="~/images/buttonExpand.gif" Enabled="True" />--%>

                                            <div class="fRight">
                                                <asp:Button ID="AddNewButtonID" OnClick="AddNewButton_Click" runat="server" SkinID="0" class="btn btn-add fas" Text="&#xf067; Add" />
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                            <div class="himsBoxContent card-body">
                                <asp:Panel ID="DetailPanel" runat="server"
                                    meta:resourcekey="DetailPanelResource1">
                                    <div class="contentHolder">
                                        <asp:Panel ID="SearchCriteriaPanel" runat="server"
                                            meta:resourcekey="SearchCriteriaPanelResource1">
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label1" Text=" Code" runat="server"
                                                        meta:resourcekey="Label1Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:TextBox ID="SearchNameTextbox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" runat="server"
                                                        meta:resourcekey="SearchNameTextboxResource1" MaxLength="100"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label2" Text=" Name" runat="server"
                                                        meta:resourcekey="Label2Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:TextBox ID="SearchRemarkTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onkeypress="return fnKeyPressForDescriptionField(event)"
                                                        onblur="return fnonTextChangeDescriptionField(this)"
                                                        meta:resourcekey="SearchRemarkTextBoxResource1" MaxLength="100"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label4" Text=" Category" runat="server"
                                                        meta:resourcekey="Label4Resource1"></asp:Label>
                                                </div>
                                                <div class="fLeft">
                                                    <asp:DropDownList ID="SearchCategoryDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList"
                                                        CssClass="form-control" meta:resourcekey="SearchCategoryDropDownListResource1">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="cBoth"></div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:HyperLink ID="DownloadTemplateHyperLink" CssClass="pointer fas" runat="server" Text="&#xf101; Download Template" NavigateUrl="~/ContentTemplates/Import/Vendor_Master.xls"></asp:HyperLink>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-6">
                                                <div class="controlLabelWidth">
                                                    <a href="javascript:;" onclick="OpenFileUpload();" class="btn btn-browser">
                                                        <i class="fa fa-arrow-down"></i>Browse</a>
                                                    <asp:FileUpload ID="flUpload" runat="server" onChange="readURL(this);" ClientIDMode="Static" Style="display: none;" />
                                                    <asp:Label ID="UploadLabel" runat="server" Text="" Style="padding-left: 10px; font-size: medium;"></asp:Label>
                                                </div>
                                            </div>
                                            <div class="alignCenter pTop5 col-md-12 center">
                                                <asp:Button ID="SearchButton" Text="&#xf002; Search" runat="server" Visible="true" Enabled="true"
                                                    OnClick="SearchButton_Click" SkinID="0" class="btn-search btn fas" />
                                                <asp:Button ID="ResetButton" runat="server" Text="&#xf0e2; Reset" Visible="true" Enabled="true"
                                                    OnClick="ResetButton_Click" SkinID="0" class="btn-reset btn fas" />
                                                <asp:Button ID="ExportButton" Enabled="false" SkinID="0" CssClass="btn-examcommon btn fas"
                                                    Text="&#xf093; Export" runat="Server" OnClick="ExportButton_Click" />
                                                <asp:Button ID="ImportButton" runat="server" Text="&#xf019; Import Data" SkinID="0"
                                                    class="btn-examcommon btn fas" OnClick="ImportButton_Click" />
                                            </div>
                                        </asp:Panel>
                                        <div id="Div1" class="himssuHeader7WireBox col-md-12" runat="server">
                                            <div id="VendorMasterDetailDiv" visible="False" runat="server">
                                                <div class="himsBoxHeader card-head inner" id="PatientRelationDiv" runat="server">
                                                    <div class="leftdiv">
                                                    </div>
                                                    <div class="himsBoxTitle" style="width: 99%">
                                                        <div class="headerText">
                                                            <div class="fLeft">
                                                                <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="True"
                                                                    meta:resourcekey="GridViewLabelResource1" />
                                                            </div>
                                                        </div>
                                                        <div align="right" class="fRight" style="margin-top: 0px;">
                                                            <uc1:GridViewPager ID="VendorMasterGridView_GridViewPager" runat="server" OnFirstRecordClick="VendorMasterGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="VendorMasterGridView_GridViewPager_LastRecordClick" OnNextRecordClick="VendorMasterGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="VendorMasterGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="VendorMasterGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="VendorMasterGridView" />
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="himsBoxContent">
                                                    <%-- <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                                <asp:Table ID="VendorMasterGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                                    BackColor="#E8E8E8" ForeColor="Black" Width="100%" GridLines="Both" 
                                                                    CssClass="GridViewTableRow" 
                                                                    meta:resourcekey="VendorMasterGridViewTableResource1">
                                                                </asp:Table>
                                                            </div>--%>
                                                    <div class="himsBoxContentMsg" id="GridMessageDiv" runat="server"
                                                        visible="False">
                                                    </div>

                                                    <%-- <div id="DivData" class="Container" style="vertical-align: top; height: 100px; width: 99.6%;">--%>
                                                    <asp:GridView ID="VendorMasterGridView" runat="server" class="himssuHeader7WireBox col-md-12 table-responsive" AutoGenerateColumns="False"
                                                        OnRowDataBound="VendorMasterGridView_RowDataBound" OnPageIndexChanging="VendorMasterGridView_PageIndexChanging"
                                                        ShowHeader="True" AllowPaging="True" PageSize="20"
                                                        meta:resourcekey="VendorMasterGridViewResource1"
                                                        CssClass="table table-striped table-bordered">
                                                        <Columns>
                                                            <asp:TemplateField meta:resourcekey="TemplateFieldResource1">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="EditLinkButton" runat="server" OnClick="LinkButton_Click" Text="Select"
                                                                        CausesValidation="False" meta:resourcekey="EditLinkButtonResource1"></asp:LinkButton>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="5%" />
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Id" SortExpression="Id" Visible="False"
                                                                meta:resourcekey="TemplateFieldResource2">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="IdLabel" runat="server" Text='<%# Bind("Id") %>'
                                                                        meta:resourcekey="IdLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="0%" />
                                                                <ItemStyle Width="0%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Code" SortExpression="Code" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource3">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="VendorLabel" runat="server" Text='<%# Bind("Code") %>'
                                                                        meta:resourcekey="VendorLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="15%" />
                                                                <ItemStyle Width="15%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Name " SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource4">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="NameLabel" runat="server" Text='<%# Bind("Title") %>'
                                                                        meta:resourcekey="NameLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="20%" />
                                                                <ItemStyle Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="Category" SortExpression="CatagoryName" HeaderStyle-HorizontalAlign="Left"
                                                                meta:resourcekey="TemplateFieldResource5">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CategoryName" runat="server" Text='<%# Bind("CatagoryName") %>'
                                                                        meta:resourcekey="CategoryNameResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="10%" />
                                                                <ItemStyle Width="20%" />
                                                            </asp:TemplateField>
                                                            <asp:TemplateField HeaderText="CatagoryId" SortExpression="VendorCategoryId"
                                                                Visible="False" meta:resourcekey="TemplateFieldResource6">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="CatagoryIdLabel" runat="server"
                                                                        Text='<%# Bind("VendorCategoryId") %>'
                                                                        meta:resourcekey="CatagoryIdLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle Width="0%" />
                                                                <ItemStyle Width="0%" />
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="PhoneNumberMobile" HeaderText="Mobile" ItemStyle-Width="10%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:BoundField DataField="Email" HeaderText="EmailId" ItemStyle-Width="20%"
                                                                HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField HeaderText="InActive" SortExpression="IsObsolete"
                                                                meta:resourcekey="TemplateFieldResource7">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="ObsoleteLabel" runat="server"
                                                                        Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'
                                                                        meta:resourcekey="ObsoleteLabelResource1"></asp:Label>
                                                                </ItemTemplate>
                                                                <HeaderStyle HorizontalAlign="Center" Width="5%" />
                                                                <ItemStyle HorizontalAlign="Center" Width="5%" />
                                                            </asp:TemplateField>
                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                    <%-- </div>--%>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </asp:Panel>
                            </div>
                        </div>
                        <%-- <div class="spacer">
                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif"
                                        meta:resourcekey="Image1Resource1" />
                                </div>
                                <div class="spacer5">
                                    <asp:Image ID="Image13" runat="server" ImageUrl="~/Images/spacer.gif"
                                        meta:resourcekey="Image13Resource1" />
                                </div>--%>
                        <div class="himssuHeader1WireBox" id="DetailDiv" runat="server">
                            <div class="himsBoxHeader card-head">
                                <div class="leftdiv">
                                </div>
                                <div class="himsBoxTitle">
                                    <div class="headerText">
                                        <header>
                                            <i class="fas fa-list-ul"></i>
                                            General
                                        </header>
                                    </div>
                                </div>

                                <div class="fRight pagination mt-27">
                                    <table>
                                        <tr>


                                            <td class="formLabel">
                                                <div id="NumberOfRecordDiv" runat="server" visible="false">
                                                    <asp:LinkButton AlternateText="First page" ToolTip="First page" ID="FirstRecordImageButton"
                                                        runat="server" ImageUrl="~/Images/arrowLlast.gif" CommandName="Page" CommandArgument="First"
                                                        OnClick="FirstRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-backward"></i>
                                                    </asp:LinkButton>
                                                    <asp:LinkButton AlternateText="Previous page" ToolTip="Previous page" ID="PreviousImageButton"
                                                        runat="server" ImageUrl="~/Images/arrowLeft.gif" CommandName="Page" CommandArgument="Prev"
                                                        OnClick="PreviousImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play fa-rotate-180"></i>
                                                    </asp:LinkButton>
                                                    &nbsp; &nbsp;
                                                            <asp:Label ID="LabelPage" runat="server" Text="Record " AssociatedControlID="ReCordNumber" />
                                                    <asp:Label ID="ReCordNumber" Font-Bold="true" SkinID="Dummy" runat="server"></asp:Label>
                                                    <asp:Label ID="ofLabel" Text="of" runat="server" />
                                                    <asp:Label ID="TotalRecord" runat="server" />
                                                    &nbsp; &nbsp;
                                                            <asp:LinkButton AlternateText="Next page" ToolTip="Next page" ID="NextImageButtom"
                                                                runat="server" ImageUrl="~/Images/arrowRight.gif" CommandName="Page" CommandArgument="Next"
                                                                OnClick="NextImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-play"></i>
                                                            </asp:LinkButton>
                                                    <asp:LinkButton AlternateText="Last page" ToolTip="Last page" ID="LastRecordImageButton"
                                                        runat="server" ImageUrl="~/Images/arrowRLast.gif" CommandName="Page" CommandArgument="Last"
                                                        OnClick="LastRecordImageButton_Click" CssClass="btn btn-default gridviewpagerbuttonpadding">
                                                                <i class="fa fa-fast-forward"></i>
                                                    </asp:LinkButton>
                                                </div>
                                            </td>

                                            <td>&nbsp; &nbsp;
                                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" class="btn btn-back fas" Text="&#xf30a; Back" />
                                            </td>



                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="himsBoxContent card-body">
                                <div class="contentHolder">
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label9" runat="server" Text="Code" SkinID="MandatoryLabel"
                                                meta:resourcekey="Label9Resource1"></asp:Label>
                                        </div>
                                        <div class="fLeft">
                                            <asp:TextBox ID="CodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnTextChanged="CodeTextBox_TextChanged"
                                                MaxLength="100" AutoPostBack="True" onkeypress="return fnKeyPressForCodeField(event)"
                                                onblur="return fnonTextChangeCodeField(this)"
                                                meta:resourcekey="CodeTextBoxResource1"></asp:TextBox>
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label10" runat="server" Text=" Name" SkinID="MandatoryLabel"
                                                meta:resourcekey="Label10Resource1"></asp:Label>
                                        </div>
                                        <div class="fLeft">
                                            <asp:TextBox ID="NameTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                MaxLength="300" AutoPostBack="false"
                                                onblur="return fnonTextChangeNameField(this)"
                                                meta:resourcekey="NameTextBoxResource1"></asp:TextBox>
                                            <asp:HiddenField ID="IdHiddenField" runat="server" />
                                        </div>
                                    </div>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label5" runat="server" Text="Category" SkinID="MandatoryLabel"
                                                meta:resourcekey="Label5Resource1"></asp:Label>
                                        </div>
                                        <div class="fLeft">
                                            <asp:DropDownList ID="CategoryDropDownList" runat="server" SkinID="CustomWidthDropDownList"
                                                CssClass="form-control" onmouseleave="showHideTooltip()"
                                                onmouseenter="showHideTooltip()"
                                                meta:resourcekey="CategoryDropDownListResource2">
                                            </asp:DropDownList>
                                        </div>
                                    </div>

                                    <%-- <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    Credit Limit
                                                </div>
                                                <div class="fLeft">
                                                    <asp:TextBox ID="CreditTextBox" SkinID="CustomWidthTextBox" Width="100px" runat="server"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="23"
                                                        onBlur="javascript:return fnValidateDecimal(this,16,6)"
                                                        onKeypress="javascript:return MaskDecimal(event,16,6)"
                                                        meta:resourcekey="CreditTextBoxResource1"></asp:TextBox>
                                                </div>
                                            </div>--%>
                                    <div class="outerBox pTop5 col-md-3">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label6" runat="server" Text=" Credit Terms (Days)"
                                                SkinID="MandatoryLabel" meta:resourcekey="Label6Resource1"></asp:Label>
                                        </div>
                                        <div class="fLeft">
                                            <asp:TextBox ID="CreditTermsTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" onBlur="javascript:return fnValidateDecimal(this,3,0)"
                                                MaxLength="3" onKeypress="javascript:return MaskDecimal(event,12,2)"
                                                meta:resourcekey="CreditTermsTextBoxResource1"></asp:TextBox>
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="ChkDiv" runat="server">
                                        <div class="fLeft">
                                            <asp:CheckBox ID="HeaderObsoleteCheckBox" Text="InActive" runat="server"
                                                meta:resourcekey="HeaderObsoleteCheckBoxResource1" />
                                        </div>
                                    </div>

                                    <div class="outerBox pTop5 col-md-3" id="PayToNameDiv" runat="server">
                                        <div class="controlLabelWidth">
                                            <asp:Label ID="Label8" runat="server" Text="Pay to Name" Visible="false"
                                                SkinID="MandatoryLabel" meta:resourcekey="Label8Resource1"></asp:Label>
                                        </div>
                                        <div class="fLeft">
                                            <asp:TextBox ID="TxtPaytoName" SkinID="CustomWidthTextBox" runat="server" Visible="false"
                                                onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="300"
                                                onblur="return fnonTextChangeNameField(this)"
                                                meta:resourcekey="TxtPaytoNameResource1"></asp:TextBox>
                                        </div>
                                    </div>


                                    <div class="himssuHeader1WireBox">
                                        <div class="himsBoxHeader  card-head inner" id="Div2" runat="server" visible="True">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText fLeft">
                                                    <header>
                                                        <asp:Label ID="ContactDetailLabel" Text="Contact Detail" runat="server" />
                                                    </header>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="himsBoxContent">
                                            <div class="contentHolder pLtRtZero">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Contact Person
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="ContactPersonTextBox" SkinID="CustomWidthTextBox"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" runat="server"
                                                            MaxLength="300"
                                                            meta:resourcekey="ContactPersonTextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Address 1
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="Address1TextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"
                                                            onblur="return fnonTextChangeNameField(this)"
                                                            meta:resourcekey="Address1TextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Address 2
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="Address2TextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"
                                                            onblur="return fnonTextChangeNameField(this)"
                                                            meta:resourcekey="Address2TextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Address 3
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="Address3TextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"
                                                            onblur="return fnonTextChangeNameField(this)"
                                                            meta:resourcekey="Address3TextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        City
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <acc:AutoCompleteControl ID="ContactCityTextBox" runat="server" MinimumPrefixLength="2"
                                                            MaxLength="100" ContextKey="Common.City" AutoPostBack="true" OnTextChanged="ContactCityTextBox_TextChanged"
                                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />

                                                        <%-- <acc:AutoCompleteControl ID="ContactCityTextBox" runat="server" MinimumPrefixLength="2"
                                                MaxLength="50" ContextKey="Common.City" AutoPostBack="true" DisplayLoadingStatus="true"
                                                OnTextChanged="ContactCityTextBox_TextChanged" SkinID="CustomWidthTextBox" Width="150px"
                                                ValidateOnTextChanged="false" IsCacheEnabled="false" />--%>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        State
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <acc:AutoCompleteControl ID="ContactStateTextBox" runat="server" MinimumPrefixLength="2"
                                                            MaxLength="100" ContextKey="Common.State" AutoPostBack="true" OnTextChanged="ContactStateTextBox_TextChanged"
                                                            DisplayLoadingStatus="true" SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />

                                                        <%-- <acc:AutoCompleteControl ID="ContactStateTextBox" runat="server" MinimumPrefixLength="2"
                                                MaxLength="50" ContextKey="Common.State" AutoPostBack="true" DisplayLoadingStatus="true"
                                                OnTextChanged="ContactStateTextBox_TextChanged" 
                                                SkinID="CustomWidthTextBox" Width="150px"
                                                ValidateOnTextChanged="false" IsCacheEnabled="false" />--%>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Country
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <acc:AutoCompleteControl ID="ContactCountryTextBox" runat="server" MinimumPrefixLength="2"
                                                            MaxLength="100" ContextKey="Common.Country" AutoPostBack="true" DisplayLoadingStatus="true"
                                                            SkinID="CustomWidthTextBox" ValidateOnTextChanged="false" />
                                                        <%--   <acc:AutoCompleteControl ID="ContactCountryTextBox" runat="server" MinimumPrefixLength="2"
                                                MaxLength="50" ContextKey="Common.Country" AutoPostBack="true" DisplayLoadingStatus="true"
                                                SkinID="CustomWidthTextBox"
                                                Width="150px" ValidateOnTextChanged="false" IsCacheEnabled="false"/>--%>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Post Code
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="PostCodeTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="20" onKeypress="javascript:return MaskDecimal(event,10,0)"
                                                            onblur="return fnonTextChangeNameField(this)"
                                                            meta:resourcekey="PostCodeTextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Phone No
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="PhoneTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"
                                                            onblur="return fnonTextChangeNameField(this)" onKeypress="javascript:return MaskDecimal(event,10,0)"
                                                            meta:resourcekey="PhoneTextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Mobile No
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="MobileTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="50"
                                                            onblur="return fnonTextChangeNameField(this)" onKeypress="javascript:return MaskDecimal(event,100,0)"
                                                            meta:resourcekey="MobileTextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>

                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Fax
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="FaxTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100" onKeypress="javascript:return MaskDecimal(event,10,0)"
                                                            onblur="return fnonTextChangeNameField(this)"
                                                            meta:resourcekey="FaxTextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLabelWidth">
                                                        Email
                                                    </div>
                                                    <div class="fLeft">
                                                        <asp:TextBox ID="EmailTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                            onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" MaxLength="100"
                                                            onblur="return checkEmail(this);" meta:resourcekey="EmailTextBoxResource1"></asp:TextBox>
                                                    </div>
                                                </div>

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

                    </div>
                </div>

                <%--HEDP History Ends Here--%>
            </div>
            </div>
        
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../../JavaScript/rjs/encrypt/vendor-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/vendor-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>
