<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/FiniqAppMasterPage.Master" CodeBehind="UnderLyingSetup.aspx.vb" Inherits="FinIQWebApp.UnderLyingSetup" %>

<%@ Register Src="../FinIQ_User_Controls/DateControl.ascx" TagName="DateControl" TagPrefix="uc1" %>
<%@ Register Src="~/FinIQ_User_Controls/MultiselectDropDown/UC_MultiSelectDropDown.ascx" TagPrefix="uc1" TagName="UC_MultiSelectDropDown" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <script src="UnderLyingSetup.js" type="text/javascript"></script>
    <script src="../FinIQJS/SortFilter_Grid.js" type="text/javascript"></script>
    <link href="UnderLyingSetup.css" rel="stylesheet" type="text/css" />

    <asp:ScriptManagerProxy ID="ScriptManagerProxy11" runat="server">
    </asp:ScriptManagerProxy>

    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanelCP"
        DisplayAfter="0">
        <ProgressTemplate>
            <div class="divLoading">
                <img alt="Loading" src="../App_Resources/loading.gif" /><span class="lbl">Loading...&nbsp;&nbsp;</span>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>

    <asp:UpdatePanel ID="UpdatePanelCP" runat="server" class="PanelPad">
        <ContentTemplate>

            <div class="topContainer">
                <asp:Label runat="server" ID="lblSuccess" ForeColor="#008000"></asp:Label>
                <asp:Label runat="server" ID="lblError" ForeColor="#FF4E4E"></asp:Label>
                <asp:Label runat="server" ID="lblInfo" CssClass="lblError"></asp:Label>
            </div>

            <div class="mainContainer">

                <div class="divButtons">
                    <table>
                        <tr>
                            <td>
                                <asp:Button Text="Show Filter" ID="btnShowFilter" CssClass="btn btnWidth" runat="server" AutoPostBack="True" />
                            </td>
                            <td>
                                <asp:Button ID="btnLoad" runat="server" Text="Load" CssClass="btn btnWidth"></asp:Button>
                            </td>
                            <td>
                                <asp:Button ID="btnAddOpt" runat="server" Text="Add" CssClass="btn btnWidth"></asp:Button>
                            </td>
                            <td>
                                <asp:Button ID="btnSave" runat="server" Text="Save" CssClass="btn btnWidth"></asp:Button>
                            </td>
                            <td>
                                <asp:Button ID="btnActivate" runat="server" Text="Activate" CssClass="btn btnWidth"></asp:Button>
                            </td>
                            <td>
                                <asp:Button ID="btnDeactivate" runat="server" Text="Deactivate" CssClass="btn btnWidth"></asp:Button>
                            </td>
                            <td>
                                <asp:Button ID="btnImport" runat="server" Text="Import" CssClass="btn btnWidth" OnClientClick="OpenPopup(this, 1750, 850, false); return false;" sourceLink="../FinIQ_Asset_Import/FinIQ_Asset_Import.aspx?Mode=4.5" Title="Asset Import"></asp:Button>
                            </td>
                            <td runat="server" id="tdBtnVerify" style="display: none">
                                <asp:Button ID="BtnVerify" runat="server" Text="Verify" CssClass="btn btnWidth" Enabled="false"></asp:Button>
                            </td>
                            <td id="tdBtnReject" runat="server" style="display: none;">
                                <asp:Button ID="btnReject" runat="server" Text="Reject" CssClass="btn btnWidth" Enabled="false"></asp:Button>
                            </td>
                        </tr>
                    </table>
                </div>

                <div class="divFilters Action" id="divFilters" runat="server" style="display: none;">
                    <div class="filters">
                        <div class="filter_row">
                            <div>
                                <asp:Label ID="lblMarketTypeRight" runat="server" Text="Market Type" CssClass="lbl"></asp:Label>
                            </div>
                            <div>
                                <asp:DropDownList ID="cboMarketTypeSearch" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                </asp:DropDownList>
                            </div>
                            <div>
                                <asp:Label ID="lblAssetTypeRight" runat="server" Text="Asset Type" CssClass="lbl"></asp:Label>
                            </div>
                            <div>
                                <asp:DropDownList ID="cboAssetTypeSearch" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                </asp:DropDownList>
                            </div>
                            <div>
                                <asp:Label ID="lblActiveYN" runat="server" Text="Active Y/N" CssClass="lbl"></asp:Label>
                            </div>
                            <div>
                                <asp:DropDownList ID="cboActiveYN" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                    <asp:ListItem>BOTH</asp:ListItem>
                                    <asp:ListItem>NO</asp:ListItem>
                                    <asp:ListItem>YES</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div>
                                <asp:Label ID="lblSearch" runat="server" Text="Search" CssClass="lbl"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="txtSearch" runat="server" CssClass="txt textinput" MaxLength="20" onpaste="return false;" oncut="return false;" oncopy="return false;" ondragstart="return false;" ondrop="return false;" onkeydown="return UnderlyingSearch(this);"></asp:TextBox>
                                <asp:Button runat="server" ID="btnSearch" Style="display: none;" />
                            </div>
                            <div runat="server" id="tdlblViewData" style="display: none;">
                                <asp:Label runat="server" ID="lblViewData" Text="View Data" CssClass="lbl"></asp:Label>
                            </div>
                            <div runat="server" id="tdcboViewData" style="display: none;">
                                <asp:DropDownList ID="cboViewData" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                    <asp:ListItem>Unverified</asp:ListItem>
                                    <asp:ListItem>Verified</asp:ListItem>
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div id="trExtraFilters" class="filter_row" runat="server">
                            <div>
                                <asp:Label ID="lblAssetCodeFilter" runat="server" CssClass="lbl" Text="Asset Code"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="txtAssetCodeFilter" runat="server" CssClass="txt textinput"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="lblMurexCodeFitler" runat="server" CssClass="lbl" Text="MurexCode"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="txtMurexCodeFilter" runat="server" CssClass="txt textinput"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="lblBBGCodeFilter" runat="server" CssClass="lbl" Text="Bloomberg Code"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="txtBBGCodeFilter" runat="server" CssClass="txt textinput"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="lblRICCodeFilter" runat="server" CssClass="lbl" Text="RIC Code"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="txtRICCodeFilter" runat="server" class="txt textinput"></asp:TextBox>
                            </div>
                        </div>
                        <div id="trExtraFilters_1" class="filter_row" runat="server">
                            <div>
                                <asp:Label ID="lblISINCodeFilter" runat="server" CssClass="lbl" Text="ISIN"></asp:Label>
                            </div>
                            <div>
                                <asp:TextBox ID="txtISINCodeFilter" runat="server" CssClass="txt textinput"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="lblSectorFilter" runat="server" CssClass="lbl" Text="Sector"></asp:Label>
                            </div>
                            <div>
                                <asp:DropDownList ID="cboSectorFilter" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                            </div>
                            <div>
                                <asp:Label ID="lblSubSectorFilter" runat="server" CssClass="lbl" Text="Sub-Sector"></asp:Label>
                            </div>
                            <div>
                                <asp:DropDownList ID="cboSubSectorFilter" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="leftDiv" id="leftDiv" runat="server" style="display: none;">
                    <%--Allowed Copy paste for textbox by Omkar M || 07-Oct-2021||MASINT-2226||Start--%>
                    <fieldset runat="server" id="grpDetails" class="filter">
                        <table class="table1">
                            <tr>
                                <td class="tdLeftLabel" id="tdMurexCodeLbl" runat="server">
                                    <asp:Label ID="lblMurexCode" runat="server" Text="Murex Code<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                </td>
                                <td id="tdMurexCodeVal" runat="server">
                                    <asp:TextBox ID="txtMurexCode" runat="server" AutoPostBack="true" CssClass="txt textinput"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <%-- <asp:Label ID="lblIDCode" runat="server" Text="Asset Code<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>--%>
                                    <asp:Label ID="lblIDCode" runat="server" Text="Ticker<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--Changes By Omkar M || MASCLI-1449--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtIDCode" runat="server" AutoPostBack="true" CssClass="txt textinput" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblQACcy" runat="server" Text="Quote Against<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label ID="Label2" runat="server" Text="*" CssClass="lblMandatory"></asp:Label>--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cmbQuoteAgainst" runat="server" CssClass="ddl dropdown" AutoPostBack="true"></asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel" id="tdIDNameLbl" runat="server">
                                    <asp:Label ID="lblIDName" runat="server" Text="Long Name<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                </td>
                                <td colspan="3" id="tdIDNameVal" runat="server">
                                    <asp:TextBox ID="txtIDName" runat="server" CssClass="txt textareaLongName" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel" id="tdQAOrderLabel" runat="server">
                                    <asp:Label ID="lblQAOrder" runat="server" Text="Quotation Order<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label ID="Label3" runat="server" Text="*" CssClass="lblMandatory"></asp:Label>--%>
                                </td>
                                <td class="tdboxes" id="tdQAOrderVal" runat="server">
                                    <asp:DropDownList ID="cboQAOrder" runat="server" CssClass="ddl dropdown" AutoPostBack="true" Enabled="false"></asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel" style="display: none;">
                                    <asp:Label ID="lblIDtNo" runat="server" Text="Internal No" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" style="display: none;">
                                    <asp:TextBox ID="txtIDtNo" runat="server" CssClass="txt textinput"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblDPAmt" runat="server" Text="Decimal Places (Amount)<span class='lblMandatory'>*</span>" CssClass="lbl wordwrap"></asp:Label>
                                    <%--<asp:Label ID="Label4" runat="server" Text="*" CssClass="lblMandatory"></asp:Label>--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtDPAmt" runat="server" CssClass="txt textinput AlignRight" OnKeyPress=" return AllowNumericOnly(this);" MaxLength="1" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblDPRate" runat="server" Text="In Rates<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label ID="Label5" runat="server" Text="*" CssClass="lblMandatory"></asp:Label>--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtDPRate" runat="server" CssClass="txt textinput AlignRight" OnKeyPress=" return AllowNumericOnly(this);" MaxLength="1" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblMode_Exchange" runat="server" Text="Mode/Exchange<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--<span class="lblMandatory">*</span>--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboSettlementMode" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                                </td>
                            </tr>
                            <tr id="trMarketType" runat="server">
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblMarketType" runat="server" Text="Market Type<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label ID="Label9" runat="server" Text="*" CssClass="lblMandatory"></asp:Label>--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboTypeMarket" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblAssetType" runat="server" Text="Asset Type<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label ID="Label10" runat="server" Text="*" CssClass="lblMandatory"></asp:Label>--%>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboAssetType" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel" id="tdLotSizeLbl" runat="server">
                                    <asp:Label ID="lblLotSize" runat="server" Text="Lot Size" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" id="tdLotSizeVal" runat="server">
                                    <asp:TextBox ID="txtLotSize" runat="server" CssClass="txt textinput AlignRight" onkeypress="return numericwithdecimal(this,event)" MaxLength="4" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel" id="tdUnitLbl" runat="server">
                                    <asp:Label ID="lblUnit" runat="server" Text="Unit / Total Issue" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" id="tdUnitVal" runat="server">
                                    <asp:TextBox ID="txtUnit" MaxLength="10" runat="server" CssClass="txt textinput AlignRight" OnKeyPress=" return onlyNominal(event,this);" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;" AutoPostBack="true"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td id="tdlblBloombergCode" runat="server" class="tdLeftLabel">
                                    <asp:Label ID="lblBloombergCode" runat="server" Text="Bloomberg Code" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label Text="*" ID="lblBloombergMandatory" CssClass="lblMandatory" runat="server" />--%>
                                </td>
                                <td id="tdtxtBloombergCode" runat="server" class="tdboxes">
                                    <asp:TextBox ID="txtBloombergCode" MaxLength="20" runat="server" CssClass="txt textinput" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td id="tdlblISINCode" runat="server" class="tdLeftLabel">
                                    <asp:Label ID="lblISINCode" runat="server" Text="ISIN Code" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label Text="*" ID="lblISINMandatory" CssClass="lblMandatory" runat="server" />--%>
                                </td>
                                <td id="tdtxtISINCode" runat="server" class="tdboxes">
                                    <asp:TextBox ID="txtISINCode" MaxLength="20" runat="server" CssClass="txt textinput" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;" onkeypress="return AllowAlphaNumericWithHypenSpace(event);"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblAlternateIdentifiers" runat="server" Text="RIC Code" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtAIAlias" runat="server" CssClass="txt textinput" onpaste="return true" oncut="return true" oncopy="return true" ondragstart="return false;" ondrop="return false;" MaxLength="50"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel" id="tdlblLTV" runat="server">
                                    <asp:Label Text="LTV<span class='lblMandatory'>*</span>" ID="lblLTV" CssClass="lbl" runat="server" />
                                    <%--<span class="lblMandatory">*</span>--%>
                                </td>
                                <td id="tdtxtLTV" runat="server">
                                    <asp:TextBox runat="server" ID="txtLTV" CssClass="txt textinput" OnKeyPress=" return AllowNumericWithdecimal_MarketData(this);" AutoPostBack="true" Style="text-align: right;" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel" id="tdCategoryLbl" runat="server">
                                    <asp:Label ID="lblCategory" runat="server" Text="Category" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" id="tdCategoryVal" runat="server">
                                    <asp:DropDownList ID="CmbCategory" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                                    <asp:DropDownList ID="cmbIndustrySector" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                                    <asp:TextBox ID="txtCatRisk" runat="server" CssClass="txt textinput" OnKeyPress="return AllowAlphaNumeric(this);" Visible="false" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblSector" runat="server" Text="Sector" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="CBOsector" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblSubSector" runat="server" Text="Sub-sector" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cmbSubSector" runat="server" CssClass="ddl dropdown"></asp:DropDownList>
                                </td>
                                <td class="width_lblSuspendedAt" id="tdRiskLbl" runat="server">
                                    <asp:Label ID="lblRiskScore" runat="server" Text="PRR" CssClass="lbl"></asp:Label>
                                    <%--<asp:Label ID="lblRiskScore" runat="server" Text="Risk Score" CssClass="lbl"></asp:Label>--%>
                                </td>
                                <td id="tdRiskVal" runat="server">
                                    <%--<asp:TextBox ID="txtRiskScore" runat="server" CssClass="txt width_txtRiskScore" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;"></asp:TextBox>--%>
                                    <asp:DropDownList runat="server" ID="ddlRiskScore" CssClass="ddl dropdown"></asp:DropDownList>
                                </td>

                                <td class="tdLeftLabel" id="tdRegionLbl" runat="server">
                                    <asp:Label ID="lblRegion" runat="server" Text="Region" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" id="tdRegionVal" runat="server">
                                    <asp:TextBox ID="txtRegionVal" runat="server" CssClass="txt textinput"></asp:TextBox>
                                </td>
                            </tr>
                            <tr id="trGroup" runat="server">
                                <td>
                                    <asp:Label ID="Group" runat="server" Text="Group" CssClass="lbl" Visible="false"></asp:Label>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCatGroup" MaxLength="50" runat="server" CssClass="txt textinput" OnKeyPress="return AllowAlphaNumeric(this);" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;" Visible="false"></asp:TextBox>
                                </td>
                            </tr>
                            <tr style="height: 30px;" id="trTickSize" runat="server">
                                <td class="tdLeftLabel">
                                    <span class="lbl">Tick Size</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtTickSize" runat="server" CssClass="txt textinput AlignRight" ondragstart="return false;" ondrop="return false;" onkeypress="return numericwithdecimal(this,event);"></asp:TextBox>
                                </td>
                                <%--Updated By Omkar M || 02-Nov-2021  ||MASINT-2226--%>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Market Capitalization</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtMarketCapitalisation" runat="server" CssClass="txt textinput" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdSecondCol">
                                    <asp:CheckBox ID="ChkDelisted" runat="server"></asp:CheckBox>
                                    <asp:Label ID="Label6" runat="server" Text="Delisted" CssClass="lbl"></asp:Label>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkRestricted" runat="server" Text=""></asp:CheckBox>
                                    <asp:Label ID="lblRestricted" runat="server" Text="Restricted" CssClass="lbl"></asp:Label>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkSuspended" runat="server" AutoPostBack="true"></asp:CheckBox>
                                    <asp:Label ID="lblChkSuspended" runat="server" Text="Suspended" CssClass="lbl"></asp:Label>
                                </td>
                                <td>
                                    <asp:CheckBox ID="ChkAssetexemption" runat="server" Text=""></asp:CheckBox>
                                    <asp:Label ID="lblAssetExemption" runat="server" Text="Foreign Share" CssClass="lbl"></asp:Label>
                                </td>
                                <td>
                                    <asp:CheckBox ID="chkDeactivate" runat="server" Text="Deactivate"></asp:CheckBox>
                                </td>
                            </tr>
                            <tr id="trNationalities" runat="server">
                                <td class="tdLeftLabel">
                                    <asp:Label runat="server" Text="Restricted Nationalities" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <uc1:UC_MultiSelectDropDown runat="server" ID="ddlRestricted_Nations" Enabled="true" ControlID="ddlRestricted_Nations" SessionID="ddlRestricted_Nations" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Custodian</span>
                                    <asp:Label Text="*" CssClass="lblMandatory" ID="lblCustodianMandatory" runat="server" />
                                </td>
                                <td>
                                    <asp:DropDownList runat="server" ID="ddlExecutionVenue" CssClass="ddl textinput" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Publish To Sales<span class='lblMandatory'>*</span></span>
                                    <%--<span class="lblMandatory">*</span>--%>
                                </td>
                                <td>
                                    <asp:DropDownList runat="server" ID="ddlPublishToSales" CssClass="ddl textinput">
                                        <asp:ListItem Text="" Value="" />
                                        <%--Added By Omkar M || 26-Oct-2021  ||MASINT-2226--%>
                                        <asp:ListItem Text="Y" Value="Y" />
                                        <asp:ListItem Text="N" Value="N" />
                                    </asp:DropDownList>
                                </td>
                                <%--Added By Omkar M ||MASINT-2163 || 14-Sep-2021--%>
                                <td class="width_lblSuspendedAt">
                                    <asp:Label ID="lblDivideFactor" runat="server" Text="Divide Factor(Penny Stock)" CssClass="lbl"></asp:Label>

                                </td>
                                <td id="tdDivideFactor" runat="server">
                                    <asp:TextBox runat="server" ID="txtDivideFactor" CssClass="txt textinput" OnKeyPress=" return AllowNumericOnly(this);" AutoPostBack="true" Style="text-align: right;" />
                                </td>
                                <%--Added By Omkar M ||MASINT-2163 || 14-Sep-2021 || End--%>
                            </tr>
                            <tr id="trSubAssetClass" runat="server">
                                <td class="tdLeftLabel">
                                    <%--Changes By Omkar M || MASINT-2226 ||11-Oct-2021 --%>
                                    <asp:Label ID="lblStockType" runat="server" Text="Sub Asset Class<span class='lblMandatory'>*</span>" CssClass="lbl"></asp:Label>
                                </td>
                                <td colspan="3">
                                    <asp:DropDownList ID="cboStockType" runat="server" CssClass="ddl textareaLongName" AutoPostBack="true" />
                                </td>
                                <td>
                                    <span class="lbl">Primary Market Y/N<span class='lblMandatory'>*</span></span>
                                </td>
                                <td>
                                    <asp:DropDownList runat="server" CssClass="ddl textinput" ID="ddlPrimaryMarket" AutoPostBack="true">
                                        <asp:ListItem Text="" Value="" />
                                        <%--Added By Omkar M || 26-Oct-2021  ||MASINT-2226--%>
                                        <asp:ListItem Text="Y" Value="Y" />
                                        <asp:ListItem Text="N" Value="N" Selected="True" />
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr id="trIPOFields" runat="server" style="display: none;">
                                <td class="tdLeftLabel">
                                    <span class="lbl">Issue Open Date</span>
                                </td>
                                <td class="tdboxes">
                                    <uc1:DateControl ID="dtOpenDate" runat="server" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="92px" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Issue Close Date</span>
                                </td>
                                <td class="tdboxes">
                                    <uc1:DateControl ID="dtCloseDate" runat="server" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="92px" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">1st Settlement Date</span>
                                </td>
                                <td class="tdboxes">
                                    <uc1:DateControl ID="dtSettlementDate" runat="server" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="92px" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Minimum Price</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox runat="server" ID="txtMinPrice" CssClass="txt textinput" Text="0.00" Style="text-align: right;" onkeypress="return numericwithdecimal(this,event)" AutoPostBack="true" />
                                </td>
                            </tr>
                            <tr id="trIPOFields1" runat="server" style="display: none;">
                                <td class="tdLeftLabel">
                                    <span class="lbl">Maximum Price</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox runat="server" ID="txtMaxPrice" CssClass="txt textinput" Text="0.00" Style="text-align: right;" onkeypress="return numericwithdecimal(this,event)" AutoPostBack="true" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Issue Price</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox runat="server" ID="txtIssuePrice" CssClass="txt textinput" Text="0.00" Style="text-align: right;" onkeypress="return numericwithdecimal(this,event)" AutoPostBack="true" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Maximum Lots Allowed</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox runat="server" ID="txtMaxLots" CssClass="txt textinput" Text="0" Style="text-align: right;" onKeyPress="return onlyNominal(event,this);" AutoPostBack="true" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Book Building Y/N</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList runat="server" ID="ddlPriceListYN" CssClass="ddl textinput">
                                        <asp:ListItem Text="Y" Value="Y" />
                                        <asp:ListItem Text="N" Value="N" />
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <%--START || Added by Saurabh Kulkarni || BBVAORINT-106 || 14-Apr-2022--%>
                            <%--<tr id="trPortfolioContract" runat="server">
                                <td class="tdLeftLabel">
                                    <span class="lbl">Portfolio</span>
                                </td>
                                <td>
                                    <asp:TextBox CssClass="txt textinput" ID="txtPortfolio" runat="server" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Contract</span>
                                </td>
                                <td>
                                    <asp:TextBox CssClass="txt textinput" ID="txtContract" runat="server" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Calendar</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCalendar" runat="server" CssClass="txt textinput" />
                                </td>
                            </tr>--%>
                            <tr id="trNotionalMaturity" runat="server">
                                <td class="tdLeftLabel">
                                    <span class="lbl">Max Notional</span>
                                </td>
                                <td>
                                    <%-- onkeypress="return numericwithdecimal(this,event)" --%>
                                    <asp:TextBox CssClass="txt textinput AlignRight" " ID="txtNotional" runat="server"  OnTextChanged="txtNotional_TextChanged" AutoPostBack="true"/>
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Max Maturity (Months)</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtMaxMaturity" TextMode="Number" CssClass="txt textinput AlignRight" " style="padding: 5px" runat="server" />
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Underlying Type</span>
                                </td>
                                <td>
                                    <asp:DropDownList ID="ddlUnderlyingType" runat="server" CssClass="ddl textinput">
                                        <asp:ListItem Value="Share" Text="Share" />
                                        <asp:ListItem Value="Index" Text="Index" />
                                        <asp:ListItem Value="ETF" Text="ETF" />
                                        <asp:ListItem Value="ADR" Text="ADR" />
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr id="trTradingTime" runat="server">
                                <td class="tdLeftLabel">
                                    <span class="lbl">Trading Start Time</span>
                                </td>
                                <td>
                                    <asp:TextBox TextMode="Time" ID="txtTradingStartTime" runat="server" CssClass="txt textinput" style="padding: 5px;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Trading End Time</span>
                                </td>
                                <td>
                                    <asp:TextBox TextMode="Time" ID="txtTradingEndTime" runat="server" CssClass="txt textinput" style="padding: 5px;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Calendar</span>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtCalendar" runat="server" CssClass="txt textinput" />
                                </td>
                            </tr>
                            <tr id="trChecks" runat="server">
                                <td id="tdDigital" runat="server">
                                    <asp:CheckBox ID="chkDigital" runat="server" />
                                    <asp:Label ID="lblDigital" runat="server" Text="Digital" CssClass="lbl"></asp:Label>
                                </td>
                                <td id="tdBlacklisted" runat="server">
                                    <asp:CheckBox ID="chkBlacklisted" runat="server" />
                                    <asp:Label ID="lblBlacklisted" runat="server" Text="Blacklisted" CssClass="lbl"></asp:Label>
                                </td>
                                <td id="tdTempBlacklisted" runat="server">
                                    <asp:CheckBox ID="chkTempBlacklisted" runat="server" />
                                    <asp:Label ID="lblTempBlacklisted" runat="server" Text="Temp Blacklisted" CssClass="lbl"></asp:Label>
                                </td>
                                <td id="tdRestricted" runat="server">
                                    <asp:CheckBox ID="chkRestrictedBV" runat="server" />
                                    <asp:Label ID="lblRestrictedBV" runat="server" Text="Restricted" CssClass="lbl"></asp:Label>
                                </td>
                            </tr>
                            <%--END || Added by Saurabh Kulkarni || BBVAORINT-106 || 14-Apr-2022--%>
                            <tr>
                                <%--START || Added by Saurabh Kulkarni || BBVAORINT-106 || 12-Apr-2022--%>
                                <td style="padding-top: 20px;">
                                    <asp:CheckBox ID="chkVariations" runat="server" OnCheckedChanged="chkVariations_CheckedChanged" AutoPostBack="true" />
                                    <asp:Label ID="lblVariations" runat="server" Text="Asset Code Variations" CssClass="lbl"></asp:Label>
                                </td>
                                <%--END || Added by Saurabh Kulkarni || BBVAORINT-106 || 12-Apr-2022--%>
                                <td style="padding-top: 20px;" colspan="2" id="tdOptional" runat="server">
                                    <asp:CheckBox ID="chkOptional" runat="server" onchange="CheckOptionalCheckChanged(this);"></asp:CheckBox>
                                    <asp:Label ID="lblOptional" runat="server" Text="Optional Additional Fields" CssClass="lbl"></asp:Label>
                                </td>
                            </tr>
                        </table>

                        <table runat="server" id="grpTblOptional" class="table1" style="display: none;">
                            <tr>
                                <td class="tdLeftLabel" style="display: none;">
                                    <asp:Label ID="lblAssetClass" runat="server" Text="Asset Class" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" style="display: none;">
                                    <asp:DropDownList ID="cboAssetClass" runat="server" CssClass="ddl dropdown" AutoPostBack="true"></asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel" style="display: none;">
                                    <asp:Label ID="lblExchangeCode" runat="server" Text="Exchange Code" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" style="display: none;">
                                    <asp:TextBox ID="txtGeoRegion" MaxLength="50" runat="server" CssClass="txt textinput " OnKeyPress="return AllowAlphaNumeric(this);" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblAssetGroup" runat="server" Text="Asset Group" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboAssetGroup" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>N</asp:ListItem>
                                        <asp:ListItem>Y</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel" style="display: none;">
                                    <asp:Label ID="lblNDF" runat="server" Text="NDF" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes" style="display: none;">
                                    <asp:DropDownList ID="CmbNDF" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>N</asp:ListItem>
                                        <asp:ListItem>Y</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblQuoteType" runat="server" Text="Quote Type" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboQuoteTypeIR" runat="server" CssClass="ddl dropdown" Enabled="false">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>ASKONLY</asp:ListItem>
                                        <asp:ListItem>BIDONLY</asp:ListItem>
                                        <asp:ListItem>FIXING</asp:ListItem>
                                        <asp:ListItem>MIDFORBOTH</asp:ListItem>
                                        <asp:ListItem>REGULATORY</asp:ListItem>
                                        <asp:ListItem Selected="True">TWOWAY</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblSuspendedAt" runat="server" Text="Suspended At" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <uc1:DateControl ID="DtpSuspendedAt" runat="server" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="92px" SetDefaultDate="false" />
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblMaturityDate" runat="server" Text="Maturity Date" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <uc1:DateControl ID="DtpMaturityDate" runat="server" CalenderCss="btn1" TextBoxCss="txt" TextBoxSize="92px" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblAlternateLongName" runat="server" Text="Asset Long Name (Info)" CssClass="lbl"></asp:Label></td>
                                <td colspan="3">
                                    <asp:TextBox ID="txtAlternateLongName" runat="server" CssClass="txt textareaLongName" MaxLength="50" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="LblYearDayBasis" runat="server" Text="Year Day Basis" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboShortTermBasis" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>360</asp:ListItem>
                                        <asp:ListItem>365</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblLongTerm" runat="server" Text="Long Term" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cboLongTermBasis" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>360</asp:ListItem>
                                        <asp:ListItem>365</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblScripless" runat="server" Text="Scripless" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="CmbScriptless" runat="server" CssClass="ddl dropdown" AutoPostBack="true">
                                        <asp:ListItem></asp:ListItem>
                                        <asp:ListItem>N</asp:ListItem>
                                        <asp:ListItem>Y</asp:ListItem>
                                    </asp:DropDownList>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblDisplayAttributes" runat="server" Text="Display Attributes" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtDisplayPriority" runat="server" CssClass="txt textinput AlignRight" OnKeyPress=" return AllowNumericWithdecimal_MarketData(this);" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;" MaxLength="10"></asp:TextBox>
                                </td>
                                <%--MASCLI-1861 || Prachi || 19-Nov-2021 --%>
                                <td class="tdLeftLabel">
                                    <span class="lbl">Security Type</span>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList runat="server" ID="ddlSecurityType" CssClass="ddl dropdown" />
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblCity" runat="server" Text="City" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cmbCity" runat="server" CssClass="ddl dropdown" AutoPostBack="true" />
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblCountry" runat="server" Text="Country" CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:DropDownList ID="cmbCountry" runat="server" CssClass="ddl dropdown" AutoPostBack="true"></asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblRemark" runat="server" Text="Remark" CssClass="lbl"></asp:Label>
                                </td>
                                <td colspan="3">
                                    <asp:TextBox ID="txtRemark" runat="server" CssClass="txt textareaLongName" MaxLength="50" ondragstart="return false;" ondrop="return false;" onkeypress="return AllowAlphaNumericWithHypenSpace(event);"></asp:TextBox>
                                </td>
                            </tr>
                            <%--Allowed Copy paste for textbox by Omkar M || 07-Oct-2021||MASINT-2226||End--%>
                            <tr>
                                <td class="displayNone tdLeftLabel">
                                    <asp:Label ID="lblMisc1" runat="server" Text="Misc 1"> </asp:Label></td>
                                <td class="displayNone">
                                    <asp:TextBox ID="txtMisc1" MaxLength="50" runat="server" CssClass="txt textinput" OnKeyPress="return AllowAlphaNumeric(this);" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;"></asp:TextBox></td>
                                <td class="displayNone">
                                    <asp:Label ID="lblMisc2" runat="server" Text="SEDOL" CssClass="lbl"></asp:Label></td>
                                <td class="displayNone">
                                    <asp:TextBox ID="txtMisc2" MaxLength="50" runat="server" CssClass="txt textinput" onpaste="return false" oncut="return false" oncopy="return false" ondragstart="return false;" ondrop="return false;"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblDenominationcurrency" runat="server" Text="Alternate Denomination currency"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtAltDenominationCurrency" MaxLength="50" runat="server" CssClass="txt textinput" OnKeyPress="return AllowAlphaNumeric(this);"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblAssetName" runat="server" Text="Alternate Asset Name " CssClass="lbl"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:TextBox ID="txtAlternateAssetName" MaxLength="50" runat="server" CssClass="txt textinput" OnKeyPress="return AllowAlphaNumeric(this);"></asp:TextBox>
                                </td>
                                <td class="tdLeftLabel">
                                    <asp:Label ID="lblNewlyListed" runat="server" Text="Newly Listed"></asp:Label>
                                </td>
                                <td class="tdboxes">
                                    <asp:CheckBox ID="ChkNewlyListed" runat="server" Text=""></asp:CheckBox>
                                </td>
                            </tr>
                        </table>

                        <%--START || Added by Saurabh Kulkarni || BBVAORINT-106 || 12-Apr-2022--%>
                        <asp:GridView ID="grdAssetVariations" runat="server" AutoGenerateColumns="false" OnRowDataBound="assetVariations_RowDataBound"
                            DataKeyNames="ID" OnRowEditing="assetVariations_RowEditing" OnRowCancelingEdit="assetVariations_RowCancelingEdit"
                            OnRowUpdating="assetVariations_RowUpdating" OnRowDeleting="assetVariations_RowDeleting"
                            Visible="false" ShowHeaderWhenEmpty="true" CssClass="Grid">
                            <SelectedRowStyle CssClass="GridItemSelect" />
                            <RowStyle CssClass="GridItem" />
                            <HeaderStyle CssClass="GridHeader" />
                            <Columns>
                                <asp:BoundField DataField="ID" Visible="false" />
                                <asp:TemplateField HeaderText="Murex Code" HeaderStyle-Width="150" ItemStyle-HorizontalAlign="Center">
                                    <ItemTemplate>
                                        <asp:Label ID="lblMurexVariation" runat="server" Text='<%# Eval("MurexCode") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:Label ID="lblMurexVariation" runat="server" Text='<%# Eval("MurexCode") %>'></asp:Label>
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Asset Code" HeaderStyle-Width="150">
                                    <ItemTemplate>
                                        <asp:Label ID="lblAssetCodeVariation" runat="server" Text='<%# Eval("AssetCode") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtAssetCodeVariation" runat="server" Text='<%# Eval("AssetCode") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="RIC Code" HeaderStyle-Width="150">
                                    <ItemTemplate>
                                        <asp:Label ID="lblRICVariation" runat="server" Text='<%# Eval("RIC") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtRICVariation" runat="server" Text='<%# Eval("RIC") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Bloomberg Code" HeaderStyle-Width="150">
                                    <ItemTemplate>
                                        <asp:Label ID="lblBBGVariation" runat="server" Text='<%# Eval("BloombergCode") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="txtBBGVariation" runat="server" Text='<%# Eval("BloombergCode") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:CommandField HeaderText="Actions" ButtonType="Link" ShowEditButton="true" ShowDeleteButton="true" HeaderStyle-Width="150" />
                            </Columns>
                        </asp:GridView>
                        <table runat="server" class="Grid" id="grpTblAddAssetVariation" cellpadding="0" cellspacing="0"
                            style="text-align: center" visible="false">
                            <tr class="GridItem">
                                <td style="width: 161px; text-align: center">
                                    <asp:Label runat="server" CssClass="lbl" ID="lblAddMurexCodeVariation" Width="140" />
                                </td>
                                <td style="width: 161px; text-align: center">
                                    <asp:TextBox ID="txtAddAssetCodeVariation" CssClass="txt txtinput" runat="server" Width="140" Style="border: 1px solid #dddddd !important;" />
                                </td>
                                <td style="width: 161px; text-align: center">
                                    <asp:TextBox ID="txtAddRICVariation" CssClass="txt txtinput" runat="server" Width="140" Style="border: 1px solid #dddddd !important;" />
                                </td>
                                <td style="width: 161px; text-align: center">
                                    <asp:TextBox ID="txtAddBBGVariation" CssClass="txt txtinput" runat="server" Width="140" Style="border: 1px solid #dddddd !important;" />
                                </td>
                                <td style="width: 161px; text-align: center">
                                    <asp:Button ID="btnAddAssetVariation" CssClass="btn" runat="server" Text="Add" OnClick="btnAddAssetVariation_Click" Width="140" />
                                </td>
                            </tr>
                        </table>
                        <%--END || Added by Saurabh Kulkarni || BBVAORINT-106 || 12-Apr-2022--%>
                    </fieldset>
                </div>

                <div class="rightDiv Action">
                    <table>
                        <tr>
                            <td>
                                <span>Total record(s): </span>
                            </td>
                            <td>
                                <asp:Label ID="lblTotalRecords" runat="server" Style="margin-left: 5px;" />
                            </td>
                            <td>
                                <span style="margin-left: 10px;">Row(s) per page</span>
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtRowsPerPage" CssClass="txt" MaxLength="3" Width="32" Text="20" Style="text-align: right; margin-left: 5px;" onkeypress="return AllowNumericOnly(event);" onkeydown="return RowsPerPageChanged();" />
                                <asp:Button runat="server" Style="display: none;" ID="btnRowsPerPage" />
                            </td>
                            <td>
                                <asp:Button ID="btnExpandCollapse" runat="server" CssClass="btnExpandCollapse lnkIcons" title="Expand / Collapse" OnClientClick="ExpandCollapse(this); return false;" />
                            </td>
                            <td>
                                <asp:Button ID="btnExportToExcel" runat="server" CssClass="btnWidth btnExcelPortfolio lnkIcons"></asp:Button>
                            </td>
                        </tr>
                    </table>
                    <table>
                        <tr>
                            <td>
                                <table class="divGrid">
                                    <tr>
                                        <td class="align_top_gridview">
                                            <asp:GridView ID="dgAssetDef" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                                BorderStyle="Solid" BorderWidth="1px" CellPadding="3" CssClass="Grid" AllowPaging="true" PageSize="20" ShowHeaderWhenEmpty="true">
                                                <SelectedRowStyle CssClass="GridItemSelect" />
                                                <RowStyle CssClass="GridItem" />
                                                <HeaderStyle CssClass="GridHeader" />
                                                <FooterStyle CssClass="GridFooter" />
                                                <PagerStyle CssClass="GridPager" />
                                                <PagerSettings Mode="NumericFirstLast"
                                                    FirstPageText="First"
                                                    LastPageText="Last"
                                                    Position="Bottom" />

                                                <EmptyDataTemplate>
                                                    <asp:Label ID="lblqueuedatagrid" runat="server" Text="No data found." CssClass="lbl"></asp:Label>
                                                </EmptyDataTemplate>
                                                <%--MASCLI-1861 || Prachi || 19-Nov-2021 --%>
                                                <Columns>
                                                    <asp:TemplateField>
                                                        <HeaderTemplate>
                                                            <asp:CheckBox ID="chkAll" runat="server" OnCheckedChanged="checkAllCheckChanged" AutoPostBack="true" />
                                                        </HeaderTemplate>
                                                        <ItemTemplate>
                                                            <asp:CheckBox ID="chkSelect" runat="server" OnCheckedChanged="chkSelectCheckChanged" AutoPostBack="true" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="ID">
                                                        <HeaderStyle CssClass="smallCol2"></HeaderStyle>
                                                        <ItemStyle Wrap="False" HorizontalAlign="right" CssClass="smallCol2"></ItemStyle>
                                                        <ItemTemplate>
                                                            <asp:LinkButton ID="lnkID" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.ID")%>' CommandName="Select" CausesValidation="False" CssClass="lnk">
                                                            </asp:LinkButton>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%--<asp:TemplateField HeaderText="Asset" SortExpression="Code">--%>  <%--Column name updated By Omkar M ||MASCLI-1449--%>
                                                    <asp:TemplateField HeaderText="Ticker">
                                                        <HeaderStyle CssClass="midCol" />
                                                        <ItemStyle Wrap="true" CssClass="midCol" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblCode" CssClass="lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Code").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Long Name">
                                                        <HeaderStyle CssClass="largeCol" />
                                                        <ItemStyle Wrap="true" CssClass="largeCol" HorizontalAlign="left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblLongName" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.LongName").ToString)%>' CssClass="wordwrap largeCol" />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Quoted Against">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblQuotedAgainst" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.QuotedAgainst").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Market Type">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblTypeMarket" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.TypeMarket").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Asset Type">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblTypeAsset" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.TypeAsset").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Amount Decimals">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDecimalAmount" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.DecimalAmount").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Rate Decimals">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDecimalRate" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.DecimalRate").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Exchange">
                                                        <HeaderStyle CssClass="midCol" />
                                                        <ItemStyle Wrap="true" CssClass="midCol" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSettlementMode" CssClass="lbl midCol wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.SettlementMode").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Lot Size">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lbllotSize" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.lotSize").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Unit">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblGridUnit" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Unit").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%-- Changed by Saurabh Kulkarni | BBVAORINT-106 | 29-Mar-2022 --%>
                                                    <asp:TemplateField HeaderText="Murex Code" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMurexCode" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.MurexCode").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Underlying Type">
                                                        <ItemStyle Wrap="false" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblUnderlying_Type" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Underlying_Type").ToString()) %>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%-- END | Added by Saurabh Kulkarni | BBVAORINT-106 | 29-Mar-2022 --%>

                                                    <asp:TemplateField HeaderText="Bloomberg Code">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblBloombergCode" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Bloomberg_Code").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="ISIN Code">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblISINCode" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.ISIN_code").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="RIC Code">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRICCode" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.AlternateIdentifierAlias").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="LTV">
                                                        <HeaderStyle CssClass="smallCol3" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol3" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblLTV" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.LTV").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Industry">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblIndustry" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.CategoryRisk").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Sector">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSector" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Industry_Sector").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Sub-Sector">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSubsector" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.CategoryGroup").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="PRR">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRiskScore" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Equity_Risk_Score").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Tick Size">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblTickSize" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Misc3").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%--Updated By Omkar M || 02-Nov-2021  ||MASINT-2226--%>
                                                    <asp:TemplateField HeaderText="Market Capitalization">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMarketCapitalisation" CssClass="lbl midCol1 wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.MarketCapitalisation").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Restricted Nationalities">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRestricted_Nations" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Restricted_Nations").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Custodian">
                                                        <HeaderStyle CssClass="midCol1" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblExecutionVenue" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.ExecutionVenue").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Publish To Sales">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblPublishToSales" CssClass="smallCol lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.PublishToSales").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Primary Market Y/N">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblPrimaryMarket" CssClass="lbl smallCol" runat="server" Text='<%# If(Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Restructured_YN").ToString) = "N", "Y", "N")%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%--Column postion changed by Omkar M suggested  by Prachi P on 18-May-2021 --%>
                                                    <asp:TemplateField HeaderText="Active">
                                                        <HeaderStyle CssClass="smallCol" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblActivationFlag" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.ActivationFlag").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <%--Omkar M |End--%>

                                                    <%--Added By Omkar M ||MASINT-2163 || 14-Sep-2021 || Start--%>
                                                    <asp:TemplateField HeaderText="Divide Factor (Penny Stock)">
                                                        <HeaderStyle CssClass="smallCol3" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol3" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDivideFactor" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Divide_Factor").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <%--Added By Omkar M ||MASINT-2163 || 14-Sep-2021 || End--%>

                                                    <asp:TemplateField HeaderText="Sub Asset Class">
                                                        <HeaderStyle CssClass="midCol2" />
                                                        <ItemStyle Wrap="true" CssClass="midCol2" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblUnderlyingType" CssClass="midCol2 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Misc1").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Issue Open Date">
                                                        <HeaderStyle CssClass="midCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblIssueOpenDate" CssClass="lbl midCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Open_Date").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Issue Close Date">
                                                        <HeaderStyle CssClass="midCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblIssueCloseDate" CssClass="lbl midCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Close_Date").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="1st Settlement Date">
                                                        <HeaderStyle CssClass="midCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSettlementDate" CssClass="lbl midCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.First_Settle_Date").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Minimum Price">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMinPrice" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.IPO_Bid_Price_Lower").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Maximum Price">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMaxPrice" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.IPO_Bid_Price_Upper").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Issue Price">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblIssuePrice" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Customer_Price").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Max Lots Allowed">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMaxLots" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.MaxLotsAllowed").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Book Building Y/N">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblBookBuildingYN" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Pricelist_YN").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Delisted">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDelisted" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Delisted").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Restricted">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRestricted" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Restricted").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Suspended">
                                                        <HeaderStyle CssClass="smallCol3 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol3 tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSuspended" CssClass="lbl smallCol3" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Suspension_YN").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Foreign Share">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblForeignShare" CssClass="lbl smallCol" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.AssetExemption").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Asset Class" Visible="false">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblAssetClass" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Equity_Asset_Class").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Exchange Code" Visible="false">
                                                        <HeaderStyle CssClass="midcol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midcol tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblExchangeCode" CssClass="midcol lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.GeoRegion").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Region" Visible="false">
                                                        <ItemStyle Wrap="true" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRegionCol" CssClass="midCol lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.GeoRegion").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Asset Group">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblAssetGroup" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Asset_group").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Quote Type">
                                                        <HeaderStyle CssClass="smallCol1 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol1 tdHidden tdToggle" HorizontalAlign="left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblGridQuoteType" CssClass="smallCol1 lbl tdHidden tdToggle" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.QuoteType").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="NDF" Visible="false">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblAD_NDF_YN" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.AD_NDF_YN").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Suspended At">
                                                        <HeaderStyle CssClass="midCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSuspendedAt" CssClass="midCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Suspended_At").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Maturity Date">
                                                        <HeaderStyle CssClass="midCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMaturityDate" CssClass="midCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.draft_Suspended_At").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Asset Long Name (Info)">
                                                        <HeaderStyle CssClass="largeCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="largeCol tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblAssetLongNameInfo" CssClass="largeCol lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.AlternateLongName").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Year Day Basis">
                                                        <HeaderStyle CssClass="smallCol3 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol3 tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblYearDayBasis" CssClass="smallCol3 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.YearBasisShortTerm").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Long Term">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblLongTerm" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.YearBasisLongTerm").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Scripless">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblScripless" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Misc2").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Display Attributes">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDisplayAttributes" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.DisplayPriority").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%--MASCLI-1861 || Prachi || 19-Nov-2021 --%>
                                                    <asp:TemplateField HeaderText="Security Type">
                                                        <HeaderStyle CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblSecurityType" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.SecurityType").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="City">
                                                        <HeaderStyle CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblCity" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.GeoCity").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Country">
                                                        <HeaderStyle CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblCountry" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.GeoCountry").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Remark">
                                                        <HeaderStyle CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="midCol1 tdHidden tdToggle" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRemark" CssClass="midCol1 lbl wordwrap" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Remark").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Alternate Identifier">
                                                        <HeaderStyle Width="140px" CssClass="tdHidden" />
                                                        <ItemStyle Wrap="true" Width="140px" CssClass="tdHidden" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblAlternateIdentifierAlias" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.AlternateIdentifierAlias").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>



                                                    <asp:TemplateField HeaderText="Verified YN">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblIsVerify" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.IsVerify").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Rejected YN">
                                                        <HeaderStyle CssClass="smallCol tdHidden tdToggle" />
                                                        <ItemStyle Wrap="true" CssClass="smallCol tdHidden tdToggle" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRejected_YN" CssClass="smallCol lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Rejected_YN").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Newly Created" Visible="false">
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Wrap="true" Width="80px" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblNEWLY_Listed_YN" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.NEWLY_Listed_YN").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Verified By" Visible="false">
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Wrap="true" Width="80px" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblVerified_By" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Verified_By").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Verified At" Visible="false">
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Wrap="true" Width="80px" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblVerified_At" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Verified_At").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Rejected By" Visible="false">
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Wrap="true" Width="80px" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRejected_By" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Rejected_By").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Rejected At" Visible="false">
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Wrap="true" Width="80px" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblRejected_At" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Rejected_At").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="IsPending" Visible="false">
                                                        <HeaderStyle Width="80px" />
                                                        <ItemStyle Wrap="true" Width="80px" HorizontalAlign="right" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblIsPending" CssClass="lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.IsPending").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%--Added By Omkar M  ||MASCLI-1449 || 16-Sep-2021  || Start--%>
                                                    <asp:TemplateField HeaderText="Created At">
                                                        <ItemStyle Wrap="false" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblCreatedAt" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.CreatedAt").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Created By">
                                                        <ItemStyle Wrap="false" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblCreatedBy" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.CreatedBy").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Updated At">
                                                        <ItemStyle Wrap="false" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblUpdatedAt" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.EditedAt").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:TemplateField HeaderText="Updated By">
                                                        <ItemStyle Wrap="false" HorizontalAlign="center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblUpdatedBy" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.EditedBy").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <%--Added By Omkar M  ||MASCLI-1449 || 16-Sep-2021  || End--%>

                                                    <%-- START | Added by Saurabh Kulkarni | BBVAORINT-106 | 29-Mar-2022 --%>

                                                    <asp:TemplateField HeaderText="Digital Y/N" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblDigitalYN" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.DigitalYN").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%-- END | Added by Saurabh Kulkarni | BBVAORINT-106 | 29-Mar-2022 --%>

                                                    <%-- START | Added by Saurabh Kulkarni | BBVAORINT-106 | 11-Apr-2022 --%>

                                                    <asp:TemplateField HeaderText="Blacklisted" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblBlacklisted" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Blacklisted").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <%-- END | Added by Saurabh Kulkarni | BBVAORINT-106 | 11-Apr-2022 --%>

                                                    <%-- START | Added by Saurabh Kulkarni | BBVAORINT-106 | 02-Jun-2022 --%>
                                                    <asp:TemplateField HeaderText="Temp Blacklisted" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblTempBlacklisted" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.TempBlacklisted").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Max Notional" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMaxNotional" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.MaxNotional").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Max Maturity" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblMaxMaturity" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.MaxMaturity").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%-- END | Added by Saurabh Kulkarni | BBVAORINT-106 | 04-Jun-2022 --%>

                                                    <%-- START | Added by Saurabh Kulkarni | BBVAORINT-106 | 11-Apr-2022 --%>

                                                    <%--<asp:TemplateField HeaderText="Portfolio" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblPortfolio" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Portfolio").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Contract" Visible="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblContract" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Contract").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>--%>

                                                    <asp:TemplateField HeaderText="Trading Start Time" Visible ="false">
                                                        <ItemStyle HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblTradingStartTime" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.TradingStartTime").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Trading End Time" Visible ="false">
                                                        <ItemStyle HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblTradingEndTime" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.TradingEndTime").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <asp:TemplateField HeaderText="Calendar" Visible ="false">
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" />
                                                        <ItemTemplate>
                                                            <asp:Label ID="lblCalendar" CssClass="midCol1 lbl" runat="server" Text='<%# Microsoft.Security.Application.Encoder.HtmlEncode(DataBinder.Eval(Container, "DataItem.Calendar").ToString)%>' />
                                                        </ItemTemplate>
                                                    </asp:TemplateField>

                                                    <%-- END | Added by Saurabh Kulkarni | BBVAORINT-106 | 11-Apr-2022 --%>
                                                </Columns>

                                            </asp:GridView>

                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>

            </div>

            <asp:HiddenField ID="txtCurrency" runat="server"></asp:HiddenField>
            <asp:HiddenField ID="hdnactivationflag" runat="server"></asp:HiddenField>
            <asp:HiddenField ID="hdnMandatoryCustodian" runat="server"></asp:HiddenField>
            <asp:HiddenField ID="hdnEnableCodeSavingWithSpace" runat="server"></asp:HiddenField>
            <asp:HiddenField runat="server" ID="isPopupIframe" Value="IFRAME" />
        </ContentTemplate>
    </asp:UpdatePanel>

    <script type="text/javascript">
        function AllowAlphaNumericWithHypenSpace(e) {
            var keycode;
            if (window.event)
                keycode = window.event.keyCode;
            else if (event)
                keycode = event.keyCode;
            else if (e)
                keycode = e.which;
            else return true;

            if ((keycode > 47 && keycode < 58) || (keycode > 64 && keycode < 91) || (keycode > 96 && keycode < 123) || keycode == 45 || keycode == 32) {
                return true;
            }
            else {
                return false;
            }
            return true;
        }
        function Alphabetsonly(evt) {

            var letters = /^[a-zA-Z]*$/;

            var charCode = (evt.which) ? evt.which : event.keyCode;
            var keyPressed = String.fromCharCode(charCode);

            if (letters.test(keyPressed)) {
                return true;
            }
            else {
                return false;
            }
        }
        function lettersOnly() {
            debugger
            var charCode = event.keyCode;

            if ((charCode > 64 && charCode < 91) || (charCode > 96 && charCode < 123) || charCode == 8)

                return true;
            else
                return false;
        }
        function onlyAlphabets(e, t) {
            try {
                if (window.event) {
                    var charCode = window.event.keyCode;
                }
                else if (e) {
                    var charCode = e.which;
                }
                else { return true; }
                if ((charCode > 64 && charCode < 91) || (charCode > 96 && charCode < 123))
                    return true;
                else
                    return false;
            }
            catch (err) {
                alert(err.Description);
            }
        }
        function AllowAlphaNumeric_txtAIAlias(e) {
            var keycode;
            if (window.event)
                keycode = window.event.keyCode;
            else if (event)
                keycode = event.keyCode;
            else if (e)
                keycode = e.which;
            else return true;

            if ((keycode > 47 && keycode < 58) || (keycode > 64 && keycode < 91) || (keycode > 96 && keycode < 123) || keycode == 45 || keycode == 46) {
                return true;
            }
            else {
                return false;
            }
            return true;
        }
    </script>

    <asp:Button ID="btnFind" runat="server" Width="80px" Text="Find (F3)" CssClass="btn" Visible="False"></asp:Button>

</asp:Content>

