<%@ Page Language="vb" AutoEventWireup="true" MasterPageFile="~/FiniqAppMasterPage.Master" CodeBehind="FinIQ_UCP_LayoutDesigner.aspx.vb" Inherits="FinIQWebApp.FinIQ_UCP_LayoutDesigner" ValidateRequest="false" EnableEventValidation="false" EnableViewState="true" ViewStateEncryptionMode="Always" %>

<%@ Register Src="~/UCP/LayoutDesignControls/UCP_LayoutDesign_Control.ascx" TagPrefix="uc1" TagName="LayoutDesign" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_CustomArray_Control.ascx" TagPrefix="uc2" TagName="CustomArray" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_CustomTab_Control.ascx" TagPrefix="uc3" TagName="CustomTab" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_CustGridMapping_Control.ascx" TagPrefix="uc4" TagName="CustGridMapping" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_TabMapping_Control.ascx" TagPrefix="uc5" TagName="TabMapping" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_ProductRecipe_Control.ascx" TagPrefix="uc6" TagName="ProductRecipe" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_DynamicCustomerGrid_Control.ascx" TagPrefix="uc7" TagName="DynamicCustomerGrid" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_FunctionDefination_Control.ascx" TagPrefix="uc8" TagName="FunctionDefination" %>
<%--'For testing purpose only . Please Remove after Testing '17-July-2020 Added By Neeral--%>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_NewFunctionDefination_Control.ascx" TagPrefix="uc16" TagName="NewFunctionDefination" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_Intersection_Control.ascx" TagPrefix="uc9" TagName="Intersection" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_QueueStaticButton_Control.ascx" TagPrefix="uc10" TagName="QueueStaticButton" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_LayoutOverrideMapping_Control.ascx" TagPrefix="uc11" TagName="LayoutOverrideMapping" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_EditRights_Control.ascx" TagPrefix="uc12" TagName="EditRights" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_FieldTabMapping_Control.ascx" TagPrefix="uc13" TagName="FieldTabMapping" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_Invalid_Locator_LayoutDesign_Control.ascx" TagPrefix="uc14" TagName="InvalidDesignLocator" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_ModuleSchemeTemplateSearch_Control.ascx" TagPrefix="uc15" TagName="ModuleSchemeTemplateSearch" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_LayoutStyleMapping_Control.ascx" TagPrefix="uc_LSM" TagName="LayoutStyleMapping" %>
<%@ Register Src="~/UCP/LayoutDesignControls/UCP_TabIndex_Mapping_Control.ascx" TagPrefix="uc17" TagName="TabIndexMapping" %>  <%--Added by RajeshC on 02-Sep || TabIndexing--%>



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

    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" EnableViewState="true" runat="server"></asp:ScriptManagerProxy>
    <script src="~/UCP/UCPJS/DragDrop.js"></script>
    <link href="../App_Themes/workflowCSS.css" rel="stylesheet" type="text/css" />
    <link href='<%=ResolveClientUrl("~/FinIQJS/DateTimePicker.css")%>' rel="stylesheet" type="text/css" />
    <script src='<%=ResolveClientUrl("~/FinIQJS/DateTimePicker.js")%>' type="text/javascript"></script>
    <script>
        $(document).ready(function () {

            var query = $("table[id$='dgvEVTHeader']").is(':visible');
            if (query === false) {
                $("#ctl00_MainContent_oUCPLayout_GridLayout").width("3600px");

                //$("table[id$='dgvEVTHeader']").children().find("input[type='text']").each(function(){
                //    $(this).alert(1);
                //})
                //$(" .txtHeaderGridLayout ui-sortable-handle").attr("style", " border-style:none !important;")
                //  $("#ctl00_MainContent_oUCPLayout_GridLayout").removeAttr("style");
                //  $("#ctl00_MainContent_oUCPLayout_GridLayout").children().find(".Grid").width("240px");
                //  //$("table[id$='GridLayout']").width("3600px");
                //  //$("table[id$='GridLayout']").children().find(".GridItem").each(function () {
                //  //    $("table[id$='GridLayout']").width( $("table[id$='dgvEVTHeader']").width());

                ////  $("#ctl00_MainContent_oUCPLayout_GridLayout").attr('style','width:auto !important;')
            }
            else {
                $("table[id$='dgvEVTHeader'] td").find("input[type='text']").attr('style', 'width:190px !important; border-style:none !important');
            }


            //document.addEventListener('mousedown', function (e) {
            //    // alert("hey");
            //    //alert(window.event.which);
            //    if (window.event.which == 1) {
            //        //alert(e.keyCode);
            //        window.keypress = 2;
            //        //alert("pressed");
            //    }

            //if ( window.CustomEvent ) {
            //var middleClick = new MouseEvent( "click", { "button": 1, "which": 1 });
            //jQuery(".selector")[0].dispatchEvent( middleClick );
            //}
        });



    </script>
    <style type="text/css">
        * {
            box-sizing: border-box;
        }

        .lbl, .UCPlblHeader {
            padding-left: 4px !important;
        }

        .DSNmaxColumnWidth {
            width: 200px;
        }

        .tdSpace {
            width: 50px;
        }

        .tdspaceddl {
            width: 225px;
        }
        /*Added by TejaswiniB on 21-Jan-2020*/
        .lnkbutton_hover {
            text-decoration: none !important;
            color: #0284e0 !important;
            pointer-events: none;
        }

        .GridLayout {
            width: 1100px;
            overflow: auto !important;
        }
        /*#ctl00_MainContent_oUCPLayout_dgvEVTHeader
        {
            table-layout:fixed;
        }
        #ctl00_MainContent_oUCPLayout_dgvEVTHeader td
        {
             width:240px !important;
             table-layout:fixed;
        }*/
        #ctl00_MainContent_oUCPLayout_GridLayout {
        }
        /*#ctl00_MainContent_oUCPLayout_GridLayout td
        {
            width:240px !important;
        }*/
        #GridLayout {
            width: auto !important;
            box-sizing: border-box;
        }

        .Grid td {
            /*width:250px !important;*/
            box-sizing: border-box;
        }

        .GridItem td, .Grid td, .AlternatItemStyle td, .GridItemLcl td {
            box-sizing: border-box;
        }

        .gridEVTHeader td {
            min-width: 190px !important;
        }

        .txtHeaderGridLayout {
            border-style: none !important;
        }

        .lblLayoutDesign {
            /*width:57px!important;*/
        }

        table[id$='dgvEVTHeader'] td > input[type='text'] {
            width: 190px !important;
        }
        /*Do not change START*/
        .ui-dialog {
            width: auto !important;
            height: auto !important;
        }

        #ctl00_MainContent_pnlTabLinks, .DataGrid {
            /*padding-top: 15px;*/
        }

        .GridLayout {
            padding-top: 6px;
        }

        #ctl00_MainContent_oUCPFunctionDefination_lblMode {
        }
        /*<Twinkle C | 16-Jan-2020| Changes done | As per discussion with Hemlata maam>
            JIRA Ref	: BNPINT-280
            Issue		: Improvement on the UCP LayoutDesigner Page - Addition of the snooker balls on the tab which changes color according to usage
            Logs		: NA
            Findings	: Snooker ball addition
            Solution	: Snooker ball addition (css) */

        .snooker {
            padding: 0px;
            padding-bottom: 5px;
            width: 1em;
            height: 1em;
            border-radius: 1em;
            box-sizing: border-box;
            border: solid 0px #FFF !important;
            border-collapse: collapse;
            background-image: url("../App_Resources/snooker.png");
            background-repeat: no-repeat;
            background-size: 105%;
            background-attachment: scroll;
            background-position: center;
            color: #FFF;
            font: normal 14px/3em verdana;
            text-align: center;
            text-decoration: none;
            vertical-align: middle;
            /*box-shadow: 0px 39px 18px -20px rgba(0,0,0,0.5);*/
            text-shadow: 1px 1px 1px #000;
            opacity: 1;
            background-color: #ff76ff;
        }
        /*</Twinkle C | 16-Jan-2020 Changes done | As per discussion with Hemlata maam>*/

        /*Added by TwinkleC 17-12-2019 for Tab Alignment*/
        .MainDiv {
            width: auto;
            display: block;
            float: left;
        }

        .TabLinks {
            width: 241px;
            vertical-align: top;
        }

        .ControlsFilter {
            vertical-align: top;
            height: 100px;
        }

        .mainTable {
            width: auto;
            display: inline-block;
            float: left;
            visibility: visible;
            border-spacing: 0px;
        }

        table {
            border-spacing: 2px;
        }

            table td {
                vertical-align: top;
            }

        .lblTDWidth {
            width: 85px;
            vertical-align: middle;
        }
        /*End by TwinkleC 17-12-2019 for Tab Alignment*/

        .btn {     /*Changes by BhagyashriB on 27-Oct-2021 | UWI-209*/
            width: 100px;
        }

        .tempDetails {
            font-weight: bold;
            padding-left: 15px !important;
        }
    </style>
    <asp:UpdatePanel ID="udatepnl" runat="server" UpdateMode="Always" RenderMode="Block">
        <ContentTemplate>
            <div id="MainDiv" class="MainDiv">
                <table style="border-spacing: 0px;">
                    <tr>
                        <td id="tdSideTab" runat="server" style="vertical-align: top;">
                            <table id="tblsidetab" class="mainTable" runat="server">
                                <tr>
                                    <td style="vertical-align: top;">
                                        <table style="width: 245px;">
                                            <tr>
                                                <%--Added by Bhagyashri B on 04 November 2019 for Search--%>
                                                <td id="tdSearch" colspan="2">
                                                    <uc15:ModuleSchemeTemplateSearch runat="server" ID="modSchmTmplSrch" Width="254" EnableViewState="true" Visible="true" OnValueSelected="updateModSchmTmplValues" />
                                                </td>
                                                <%-- End by Bhagyashri B --%>
                                            </tr>

                                            <tr>
                                                <td class="lblTDWidth">
                                                    <asp:Label ID="lblModule" Width="60px" runat="server" Text="Module" CssClass="lbl lblLayoutDesign"></asp:Label>
                                                </td>
                                                <td class="">
                                                    <asp:DropDownList ID="ddlModule" runat="server" CssClass="ddl" AutoPostBack="true" Style="width: 168px"></asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="lblTDWidth">
                                                    <asp:Label ID="lblScheme" Width="60px" runat="server" Text="Scheme" CssClass="lbl lblLayoutDesign"></asp:Label>
                                                </td>

                                                <td class="">
                                                    <asp:DropDownList ID="ddlScheme" runat="server" AutoPostBack="true" CssClass="ddl" Style="width: 168px"></asp:DropDownList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="lblTDWidth">
                                                    <asp:Label ID="lblTemplate" Width="60px" runat="server" Text="Template" CssClass="lbl lblLayoutDesign"></asp:Label>
                                                </td>
                                                <td class="">
                                                    <asp:DropDownList ID="ddlTemplate" runat="server" AutoPostBack="true" CssClass="ddl" Style="width: 168px"></asp:DropDownList>
                                                </td>

                                            </tr>

                                        </table>

                                    </td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: top; padding-top: 15px; width: 240px;">
                                        <div style="width: 240px; display: none;"></div>

                                        <table style="width: 100%; border-collapse: collapse;" class="TabLinks">
                                            <tr>
                                                <td>
                                                    <asp:Label ID="lblError" runat="server" Text="" font-color="Red"></asp:Label>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="vertical-align: auto">
                                                    <asp:Panel ID="pnlTabLinks" runat="server">
                                                        <asp:GridView ID="GrdLinkTab" ShowHeaderWhenEmpty="false" EmptyDataText="No Records Found"
                                                            rules="All" ShowHeader="false" runat="server" AllowPaging="true" PageSize="25" PagerStyle-Height="32px"
                                                            AutoGenerateColumns="false" HeaderuStyle-CssClass="GridHeaderTitle" Width="100%"
                                                            CssClass="Queues" CellPadding="0" RowHeadersWidthSizeMode="DisableResizing;" SelectedRowStyle-Wrap="true"
                                                            CellSpacing="0" GridLines="Horizontal">
                                                            <SelectedRowStyle CssClass="GridItemSelect" BackColor="#f7f7f7" />
                                                            <RowStyle CssClass="GridItem1" BorderStyle="None" />
                                                            <HeaderStyle CssClass="GridHeader" />
                                                            <FooterStyle CssClass="GridFooter" />
                                                            <PagerStyle CssClass="GridPager" />

                                                            <%-- <FooterStyle Height ="42px" />--%>

                                                            <RowStyle CssClass="GridItem" Wrap="true" />

                                                            <%--<SelectedRowStyle CssClass="GridItemSelect"></SelectedRowStyle>--%>
                                                            <EmptyDataTemplate>
                                                                <asp:Label ID="lblqueuedatagrid" runat="server" Text="No data found."></asp:Label>
                                                            </EmptyDataTemplate>
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="" HeaderStyle-CssClass="GridHeader" HeaderStyle-ForeColor="White">
                                                                    <HeaderStyle Height="38PX" />
                                                                    <ItemTemplate>
                                                                        <asp:Button runat="server" ID="btnBall" CssClass="Snooker" />
                                                                        <%--  16-01-2020 Added by TwinkleC for Snooker Balls BNPINT-280--%>
                                                                        <asp:LinkButton ID="TabName" runat="server"
                                                                            Text='<%# DataBinder.Eval(Container, "DataItem.TabName")%>'
                                                                            CommandArgument='<%# Bind("TabName")%>' CommandName="Select" OnClick="LinkButton_Click" Style="margin-left: 10px;"></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                    <ItemStyle CssClass="GridItems" VerticalAlign="Middle" HorizontalAlign="Left" />
                                                                </asp:TemplateField>
                                                                <%-- <asp:TemplateField HeaderText="" HeaderStyle-CssClass="GridHeader" HeaderStyle-ForeColor="White">
                                                                        <ControlStyle BorderStyle="None" />
                                                                        <ItemTemplate>
                                                                            
                                                                        </ItemTemplate>
                                                                    </asp:TemplateField>--%>
                                                            </Columns>
                                                            <SelectedRowStyle Wrap="False" />
                                                        </asp:GridView>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                        <div id="dialog_Confirm" title="Conformation-box" style="display: none; overflow: hidden; height: 750px; border: solid 1px #DDDDDD; border-bottom-width: 0px;">
                                            <iframe id="iFrame_Reconfirm" style="overflow: auto; width: 346px; height: 100%; border: 0px"></iframe>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td style="vertical-align: top;">
                            <table class="mainTable">
                                <tr>
                                    <td id="tdDetails" runat="server" colspan="2">
                                        <asp:Label ID="lblTemplateDetails" runat="server" Text="" CssClass="lbl tempDetails"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="vertical-align: top;">
                                        <asp:Panel ID="ucpDesignerMain" runat="server">
                                            <asp:Panel ID="pnlLayout" runat="server" EnableViewState="true">
                                                <%--ScrollBars="Auto"--%>
                                                <uc1:LayoutDesign ID="oUCPLayout" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlLayoutStyleMapping" runat="server" EnableViewState="true">
                                                <uc_LSM:LayoutStyleMapping ID="oUCPLayoutStyleMapping" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlCustomArray" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc2:CustomArray ID="oUCPCustomArray" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlCustomTab" runat="server" EnableViewState="true" Visible="false">
                                                <uc3:CustomTab ID="oUCPCustomTab" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlCustGridMapping" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc4:CustGridMapping ID="oUCPCustGridMapping" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlTabMapping" runat="server" EnableViewState="true" Visible="false">
                                                <%-- ScrollBars="Auto"--%>
                                                <uc5:TabMapping ID="oUCPTabMapping" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlProductRecipe" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc6:ProductRecipe ID="oUCPProductRecipe" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlDynamicCustomerGrid" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc7:DynamicCustomerGrid ID="oUCPDynamicCustomerGrid" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlFunctionDefination" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc8:FunctionDefination ID="oUCPFunctionDefination" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <%--'For testing purpose only . Please Remove after Testing '17-July-2020 Added By Neeral--%>
                                            <asp:Panel ID="pnlNewFunctionDefination" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc16:NewFunctionDefination ID="oNewFunctionDefination" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlIntersection" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc9:Intersection ID="oUCPIntersection" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlQueueStaticButton" runat="server" EnableViewState="true" ScrollBars="Auto" Visible="false">
                                                <uc10:QueueStaticButton ID="oUCPQueueStaticButton" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlLayoutOverrideMapping" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc11:LayoutOverrideMapping ID="oUCPLayoutOverrideMapping" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlEditRights" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc12:EditRights ID="oUCPEditRights" runat="server" EnableViewState="true" />
                                            </asp:Panel>

                                            <asp:Panel ID="pnlFieldTabMapping" runat="server" EnableViewState="true" Visible="false">
                                                <%--ScrollBars="Auto"--%>
                                                <uc13:FieldTabMapping ID="oUCPFieldTabMapping" runat="server" EnableViewState="true" />
                                            </asp:Panel>
                                            <asp:Panel ID="pnlInvalidLocator" runat="server" EnableViewState="true" Visible="false">
                                                <uc14:InvalidDesignLocator ID="oUCPLayoutInvalid" runat="server" EnableViewState="true" />
                                            </asp:Panel>
                                             <asp:Panel ID="PnlTabIndexMapping" runat="server" EnableViewState="true" Visible="false">
                                                <uc17:TabIndexMapping ID="oUCPTabIndexMapping" runat="server" EnableViewState="true" />
                                            </asp:Panel>    <%--Added by RajeshC on 02-Sep || TabIndexing '<UWI-178> Rajesh C--%>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>

    <asp:HiddenField ID="hdnUCPSessionID" runat="server" />

    <script>
        // $('#ctl00_MainContent_GrdLinkTab').find('.GridItem').find('a').css({ 'pointer-events': 'none' });
        var confo;
        function Confirm() {

            confo = $("#dialog_Confirm").dialog({
                title: 'Grid/Tab Display Name',
                modal: true,
                autoOpen: true,
                width: 250,
                height: 750,
                close: function () {

                    __doPostBack();
                    $("#iFrame_Reconfirm").removeAttr("id");
                    confo.dialog('close');
                    //__doPostBack(document.getElementById("iFrame_Reconfirm").contentWindow.document.getElementById("btnTabApply"), 'OnClick');  
                },
                //open: function () {
                //    $("#iFrame_Reconfirm").prop("src", "LayoutDesignControls/FrmAllTabNameList.aspx");
                //}
            });
            $("#iFrame_Reconfirm").prop("src", "LayoutDesignControls/FrmAllTabNameList.aspx?sessionId=" + document.getElementById('<%=hdnUCPSessionID.ClientID%>').value);      //Session id added by Bhagyashri B 16-01-2020 BNPINT-269
            confo.dialog('open');
        }

        function applyTabs() {
            // __doPostBack(document.getElementById("iFrame_Reconfirm").contentWindow.document.getElementById("btnSelect"), 'OnClick');
            //__doPostBack(document.getElementById("iFrame_Reconfirm").contentWindow.document.getElementById("btnTabApply"), 'OnClick');        
            __doPostBack("btnSelect", 'OnClick');
        };
        function closeDia() {
            applyTabs();
            $("#iFrame_Reconfirm").removeAttr("id");
            confo.dialog('close');

        }
    </script>

    <script type="text/javascript"> //added by devesh on 5/12/2019 for function definition chkexecution changes
        function checkallbox(evt) {
            //
            var checkboxlist = evt.parentNode.parentNode.parentNode;
            var checkboxes = checkboxlist.getElementsByTagName("INPUT");
            if (checkboxes[0].checked) {
                for (var i = 0; i < checkboxes.length; i++) {
                    checkboxes[i].checked = true;
                }
            }
            else {
                for (var i = 0; i < checkboxes.length; i++) {
                    checkboxes[i].checked = false;
                }

            }
        }

        function checkchanged(evt) {
            //
            var checkboxlist = evt.parentNode.parentNode.parentNode;
            var checkboxes = checkboxlist.getElementsByTagName("INPUT");
            var count = 0;
            for (var i = 1; i < checkboxes.length; i++) {
                if (checkboxes[i].checked == true)
                    count++;
            }
            if (count == checkboxes.length - 1) {
                checkboxes[0].checked = true;
            }
            else {
                checkboxes[0].checked = false;
            }
        }
    </script>
    <script type="text/javascript">
        function isNumberKey(evt) {
            //AkshayD 30-Apr-2020 for custom tab control
            var charCode = (evt.which) ? evt.which : evt.keyCode;
            if (charCode > 31 && (charCode < 48 || charCode > 57))
                return false;
            return true;
        }

        function toggleEllipsis(element) { /*Added by Devesh J 1-12-2021 JIRA ID:<UWI-234> */
            //debugger;
            element.parentNode.classList.toggle("text-truncate");
        }
    </script>
</asp:Content>
