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

<%@ Register Src="~/UserControls/Common/ScreenGroup/SuperAdminScreenGroup.ascx" TagName="SuperAdminScreenGroupControl"
    TagPrefix="SuperAdminScreenGroup" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="ResonMasterUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <div id="divContentPage">
                <!-- ContentPlaceHolder Box Starts -->
                <div style="width: 100%">
                    <table width="100%" cellpadding="0" cellspacing="0">
                    </table>
                    <div class="spacer5">
                        <asp:Image ID="Image4" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                    </div>
                    <table width="100%" border="0" style="vertical-align: top; margin-top: -1px" cellpadding="0"
                        cellspacing="0">
                        <tr>
                            <td class="dashBoardLeftCont" style="width: 160px" valign="top">
                                <%--     padding-top: 7px"--%>
                                <div id="leftContainer">
                                    <!-- Left Container 1 Box Start -->
                                    <dl class="expandMenu">
                                        <table width="100%" border="0">
                                            <tr>
                                                <td>
                                                    <%--   <div>
                                                        <POP:PopupAlertControl ID="PopupAlertPeriodicControlBox" runat="server" Visible="false" />
                                                    </div>--%>
                                                    <div class="himssuHeader3WireBox">
                                                        <dt id="dtSETTINGS" onclick="showHideSwitch('ddSETTINGS')">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxHeader">
                                                                            <div class="leftdiv">
                                                                            </div>
                                                                            <div class="himsBoxTitle">
                                                                                <table width="100%">
                                                                                    <tr>
                                                                                        <td style="width: 100%">
                                                                                            <div class="headerText">
                                                                                                Master
                                                                                            </div>
                                                                                        </td>
                                                                                        <td>
                                                                                            <img name="ddSETTINGSButton" id="ddSETTINGSButton" src="../../../Images/buttonCollapse.gif"></img>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </dt>
                                                        <%-- <dd style="text-align: left; margin: 0px" class="hideSwitch" id="ddSETTINGS">--%>
                                                        <dd style="text-align: left; margin: 0px" id="ddSETTINGS">
                                                            <table width="100%" cellpadding="0" cellspacing="0">
                                                                <tr>
                                                                    <td>
                                                                        <div class="himsBoxContent leftTableContainer">
                                                                            <div class="leftUlMenu">
                                                                                <ul id="sidebarmenu1">
                                                                                    <SuperAdminScreenGroup:SuperAdminScreenGroupControl EnableViewState="true" ID="SuperAdminScreenGroupControl" ScreenGroupId="153"
                                                                                        Visible="true" runat="server" />
                                                                                </ul>
                                                                            </div>
                                                                        </div>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <div class="himsBoxFooter">
                                                                <div>
                                                                </div>
                                                            </div>
                                                        </dd>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                    </dl>
                                </div>
                            </td>
                            <td class="minMaxButton" style="width: 1%; margin: 0; vertical-align: top">
                                <asp:Image ID="Image7" runat="server" ImageUrl="~/Images/spacer.gif"></asp:Image>
                            </td>
                            <td style="vertical-align: top">
                                <!-- Sub Container2 Box Start -->
                                <div class="himssuHeader2WireBox">
                                    <div class="himsBoxHeader">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <asp:Image ID="Image2" runat="server" class="fLeft" />
                                                <div class="headerText">
                                                    <asp:Label ID="Label3" runat="server" Text="Search"></asp:Label>
                                                    <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"
                                                        ExpandDirection="Vertical" />
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent">
                                        <asp:Panel ID="DetailPanel" runat="Server">
                                            <div class="contentHolder">
                                                <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                                    <div class="outerBox pTop5">
                                                        <div>
                                                            <asp:Label ID="SearchCodeLabel" Text="Code" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchCodeTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                SkinID="CustomWidthTextBox" Width="150px" runat="Server" MaxLength="20"></asp:TextBox>
                                                        </div>
                                                    </div>
                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchLabel" Text="Name" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:TextBox ID="SearchNameTextbox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                                SkinID="CustomWidthTextBox" Width="150px" runat="Server" MaxLength="300"></asp:TextBox>
                                                        </div>
                                                    </div>

                                                    <div class="outerBox pTop5">
                                                        <div class="controlLabelWidth">
                                                            <asp:Label ID="SearchOrgIdLabel" Text="OrgId" runat="server"></asp:Label>
                                                        </div>
                                                        <div class="fLeft pRight5">
                                                            <asp:DropDownList ID="SearchOrgIdDropDown" runat="server" onmouseleave="showHideTooltip()"
                                                                onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" Width="154px">
                                                            </asp:DropDownList>
                                                        </div>
                                                    </div>

                                                    <div class="cBoth">
                                                    </div>
                                                    <div class="alignCenter pTop5">
                                                        <asp:Button ID="SearchButton" Text="Search" runat="Server" OnClick="SearchButton_Click" SkinID="0" CssClass="PrimaryButton" />
                                                        <asp:Button ID="ResetButton" runat="server" Text="Clear" OnClick="ResetButton_Click" />
                                                    </div>
                                                    <div class="cBoth">
                                                    </div>
                                                </asp:Panel>
                                                <div id="Div1" class="himssuHeader1WireBox" runat="server" style="width: 100%; margin-right: 5px;">
                                                    <div id="LocationMasterDetailDiv" visible="false" runat="server">
                                                        <div class="spacer">
                                                            <asp:Image ID="Image3" runat="server" ImageUrl="~/Images/spacer.gif" />
                                                        </div>
                                                        <div class="himsBoxHeader" id="PatientRelationDiv" visible="false" runat="server">
                                                            <div class="leftdiv">
                                                            </div>
                                                            <div class="himsBoxTitle" style="width: 99%">
                                                                <div class="headerText">
                                                                    <div class="fLeft">
                                                                        <asp:Label ID="GridViewLabel" Text="List" runat="server" Font-Bold="true" />
                                                                    </div>
                                                                </div>
                                                                <div align="right" class="fRight" style="margin-top: -3px;">
                                                                    <uc1:GridViewPager ID="LocationMasterGridView_GridViewPager" runat="server" OnFirstRecordClick="LocationMasterGridView_GridViewPager_FirstRecordClick"
                                                                        OnLastRecordClick="LocationMasterGridView_GridViewPager_LastRecordClick" OnNextRecordClick="LocationMasterGridView_GridViewPager_NextRecordClick"
                                                                        OnPrevRecordClick="LocationMasterGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="LocationMasterGridView_GridViewPager_TextBoxValueChange"
                                                                        ParentGridView="LocationMasterGridView" />
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <div class="himsBoxContent">
                                                            <asp:UpdatePanel ID="MenuPlanDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                <ContentTemplate>
                                                                    <div id="Div5" runat="server" visible="false">
                                                                        <div id="DivHeader" style="vertical-align: top; width: 100%;">
                                                                            <asp:Table ID="PeriodicPaySetupGridViewTable" runat="server" CellPadding="0" CellSpacing="0"
                                                                                BackColor="#E8E8E8" ForeColor="#000000" Width="100%" GridLines="Both">
                                                                                <asp:TableRow Height="20px">
                                                                                    <asp:TableCell Text="" Width="5%" Font-Bold="true"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Organization" Width="30%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Code" Width="25%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="Name" Width="30%" Font-Bold="true" HorizontalAlign="Left"> </asp:TableCell>
                                                                                    <asp:TableCell Text="InActive" Width="10%" Font-Bold="true" HorizontalAlign="Center"> </asp:TableCell>
                                                                                </asp:TableRow>
                                                                            </asp:Table>
                                                                        </div>
                                                                        <div id="Div2" visible="true" runat="server" class="Container" style="vertical-align: top; height: 109px;">
                                                                            <asp:GridView ID="LocationMasterGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                                OnRowDataBound="LocationMasterGridView_RowDataBound" OnPageIndexChanging="LocationMasterGridView_PageIndexChanging"
                                                                                AllowPaging="true" PageSize="5" SkinID="" ShowHeader="false" PagerSettings-Visible="false"
                                                                                DataKeyNames="Id,Code,Title,StreetOne,StreetTwo,StreetThree,CityName,
                                                            StateName,CountryName,ZipCode,PhoneNo,FaxNo,SmallAddress1,SmallAddress2,RegistrationNumber,LicenceNumber,EsicNumber,EsicAddress1,
                                                            EsicAddress2,NatureOfIndustry,ByProduct,DangerousOperation,NatureOfTest,RowMaterialUsed,HazardousProcess,Cmo,NicNumber,IsObsolete">
                                                                                <Columns>
                                                                                    <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:LinkButton ID="EditLinkButton" runat="server" CommandName="Select" OnClick="LinkButton_Click"
                                                                                                Text="Select" CausesValidation="false"></asp:LinkButton>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Id" SortExpression="Id" Visible="false" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="IdLabel" runat="server" Text='<%# Bind("Id") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Organization" ItemStyle-Width="30%" SortExpression="OrgName"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="OrgNameLabel" CssClass="boxEllips" ToolTip='<%#  Bind("OrgName")  %>'
                                                                                                runat="server" Text='<%#  Bind("OrgName")  %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Code" ItemStyle-Width="25%" SortExpression="Code"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="RemarkLabel" CssClass="boxEllips" ToolTip='<%#  Bind("Code")  %>'
                                                                                                runat="server" Text='<%#  Bind("Code")  %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="Name" ItemStyle-Width="30%" SortExpression="Name"
                                                                                        ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="NameLabel" CssClass="boxEllips" ToolTip='<%# Bind("Title") %>' runat="server"
                                                                                                Text='<%# Bind("Title") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                    <asp:TemplateField HeaderText="InActive" ItemStyle-Width="10%" SortExpression="IsObsolete"
                                                                                        HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="ObsoleteLabel" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"IsObsolete").ToString().ToUpper()=="TRUE"?"Y":"N" %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </asp:TemplateField>
                                                                                </Columns>
                                                                            </asp:GridView>
                                                                        </div>
                                                                    </div>
                                                                </ContentTemplate>
                                                            </asp:UpdatePanel>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>
                                <!-- Sub Container2 Box Ends -->
                                <div class="spacer">
                                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/spacer.gif" />
                                </div>
                                <!-- Sub Container1 Box Start -->
                                <div class="himssuHeader1WireBox">
                                    <div class="himsBoxHeader">
                                        <div class="leftdiv">
                                        </div>
                                        <div class="himsBoxTitle">
                                            <div class="headerText">
                                                <asp:Label ID="LocationMasterDetailLabel" runat="server" Text="Maintenance"></asp:Label>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="himsBoxContent">
                                        <div class="contentHolder">
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="Label1" runat="server" Text="Code" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="CodeTextBox1" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" Width="150px" runat="server" MaxLength="20" AutoPostBack="true"
                                                        OnTextChanged="CodeTextBox1_TextChanged" onblur="return fnonTextChangeNameField(this)"
                                                        onkeypress="javascript:uppercase();"></asp:TextBox>
                                                    <asp:HiddenField ID="IdHiddenField" Value="0" runat="server" />
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CodeLabel" runat="server" Text="Name" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft ">
                                                    <asp:TextBox runat="server" ID="NameTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        SkinID="CustomWidthTextBox" Width="150px" MaxLength="300"></asp:TextBox>
                                                </div>
                                            </div>

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

                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OrgIdLabel" Text="Org Id" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OrgIdDropDown" runat="server" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList"
                                                        AutoPostBack="True" OnSelectedIndexChanged="OrgIdDropDown_OnSelectedIndexChanged" Width="154px">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>

                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="CountryLabel" runat="server" Text="Country" SkinID="MandatoryLabel"
                                                        meta:resourcekey="CountryLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="CountryDropDownList" runat="server" AutoPostBack="True" Width="150px"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()" OnSelectedIndexChanged="CountryDropDownList_SelectedIndexChanged">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="StateLabel" runat="server" Text="State" SkinID="MandatoryLabel" meta:resourcekey="CountryLabelResource1"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="StateDropDownList1" runat="server" AutoPostBack="false" Width="150px"
                                                        onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>


                                            <%--<div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="StreetOneLabel" runat="server" Text="StreetOne"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="StreetOneTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="StreetTwoLabel" runat="server" Text="StreetTwo"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="StreetTwoTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="StreetThreeLabel1" runat="server" Text="StreetThree"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="StreetThreeTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="CityNameLabel2" runat="server" Text="CityName"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="CityNameTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="StateNameLabel1" runat="server" Text="StateName"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="StateNameTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="CountryNameLabel" runat="server" Text="CountryName"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="CountryNameTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="ZipCodeLabel" runat="server" Text="ZipCode"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="ZipCodeTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="20"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="PhoneNoLabel1" runat="server" Text="Phone No"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="PhoneNoTextBox1" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="FaxNoLabel2" runat="server" Text="Fax No"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="FaxNoTextBox2" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                    SkinID="CustomWidthTextBox" Width="150px" MaxLength="50" 
                                   ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="NameOfOccupierLabel" runat="server" Text="Name of Occupier"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="NameOfOccupierTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                    SkinID="CustomWidthTextBox" Width="150px" MaxLength="50" 
                                   ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="AddressOfOccupierLabel" runat="server" Text="Address Of Occupier"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="AddressOfOccupierTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                    SkinID="CustomWidthTextBox" Width="150px" MaxLength="50" 
                                   ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="SmallAddress1Label3" runat="server" Text="Small Address1"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="SmallAddress1TextBox3" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="SmallAddress2Label1" runat="server" Text="Small Address2"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="SmallAddress2TextBox1" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="RegistrationNumberLabel2" runat="server" Text="Registration Number"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="RegistrationNumberTextBox2" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="LicenceNumberLabel3" runat="server" Text="Licence Number"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="LicenceNumberTextBox3" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="EsicNumberLabel1" runat="server" Text="Esic Number"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="EsicNumberTextBox1" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="EsicAddress1Label2" runat="server" Text="Esic Address1"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="EsicAddress1TextBox2" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="EsicAddress2Label3" runat="server" Text="Esic Address2"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="EsicAddress2TextBox3" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="NatureOfIndustryLabel1" runat="server" Text="Nature Of Industry"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="NatureOfIndustryTextBox1" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="ByProductLabel2" runat="server" Text="ByProduct"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="ByProductTextBox2" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="DangerousOperationLabel3" runat="server" Text="Dangerous Operation"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="DangerousOperationTextBox3" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="NatureOfTestLabel1" runat="server" Text="Nature Of Test Hazardous"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="NatureOfTestTextBox1" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        
                         <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="NatureOfTestNonHazardousLabel" runat="server" Text="Nature Of Test Non Hazardous"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="NatureOfTestNonHazardousTextBox" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="RowMaterialUsedLabel2" runat="server" Text="Row MaterialUsed"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="RowMaterialUsedTextBox2" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                         
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="HazardousProcessLabel3" runat="server" Text="Hazardous Process"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="HazardousProcessTextBox3" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="100"
                                     ></asp:TextBox>
                            </div>
                        </div>
                       
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="CmoLabel1" runat="server" Text="Cmo"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="CmoTextBox1" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                    SkinID="CustomWidthTextBox" Width="150px" MaxLength="50" 
                                    ></asp:TextBox>
                            </div>
                        </div>
                        <div class="cBoth">
                        </div>
                        <div class="outerBox pTop5">
                            <div class="controlLabelWidth">
                                <asp:Label ID="NicNumberLabel2" runat="server" Text="Nic Number"></asp:Label>
                            </div>
                            <div class="fLeft ">
                                <asp:TextBox runat="server" ID="NicNumberTextBox2" onmouseleave="showHideTooltip()"
                                    onmouseenter="showHideTooltip()" SkinID="CustomWidthTextBox" Width="150px" MaxLength="50"
                                     ></asp:TextBox>
                            </div>
                        </div>--%>

                                            <div class="outerBox pTop5">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="IsObsoleteLabel1" runat="server" Text="InActive"></asp:Label>
                                                </div>
                                                <div class="fLeft ">
                                                    <asp:CheckBox ID="IsObsoleteCheckBox1" runat="server" OnCheckedChanged="IsObsoleteCheckBox_CheckedChanged" />
                                                </div>
                                            </div>
                                            <div class="cBoth">
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!-- Sub Container1 Box Ends -->
                            </td>
                        </tr>
                    </table>
                    <%--HEDP History Ends Here--%>
                </div>
            </div>
            <div class="spacer">
                <img src="../../../Images/spacer.gif" />
            </div>



        </ContentTemplate>
    </asp:UpdatePanel>
   <%-- <script data-main="../../../JavaScript/rjs/encrypt/create-location-master-encrypt" src="../../../JavaScript/rjs/require.js"></script>--%>
      <script data-main='<%=ResolveUrl("~/JavaScript/rjs/create-location-master")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>