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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
        <link href="../App_Themes/Style1.css" rel="stylesheet" type="text/css" />
            <link href="DCDDealEntry.css" rel="stylesheet" type="text/css" />
    
    <asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="~/FinIQJS/FixFocus.js" />
        </Scripts>
    </asp:ScriptManagerProxy>
    <script language="javascript" type="text/javascript" src="../FinIQJS/FinIQCommon.js"></script>

    <script language="javascript" id="srcCancelTrade" type="text/javascript">
        
        function SetToParent(SolveButtonID1, SolveButtonID2, SolveButtonID3, SolveButtonID4, BNMAbruptClosed) {
            if (window.opener && !window.opener.closed) {
                //window.opener.document.getElementById(ApplyButtonID).click();
                window.opener.SolveChildValue(SolveButtonID1, SolveButtonID2, SolveButtonID3, SolveButtonID4, BNMAbruptClosed); //''Madan on 22-Jun-2020 Internal found issue : For BNM popup page abrupt close handling
                //window.close();
            }
        }

        function doUnload(SolveButtonID1, SolveButtonID2, SolveButtonID3, SolveButtonID4) {
            //if (window.event.clientX < 0 && window.event.clientY < 0) {
            //window.opener.document.getElementById(CloseButtonID).click();
            //if (window.opener && !window.opener.closed) {
            //    window.opener.CloseSolveChild(SolveButtonID1, SolveButtonID2, SolveButtonID3, SolveButtonID4);
            //}
            // }
           
        }
 
        
        $(document).ready(function () {
            $(window).load(function () {
                this.window.focus();
            });
        });

       
    </script>
    
    <style type="text/css">
        .auto-style3 {
            width: 180px;
            padding-left: 5px;
            padding-top: 5px;
            padding-right: 5px;
            padding-bottom: 5px;
        }



        .auto-style8 {
            width: 100px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .td2lablewidth {
            width: 130px;
            padding-left: 5px;
            padding-top: 5px;
            padding-right: 5px;
            padding-bottom: 5px;
        }

        .td3lablewidth {
            width: 120px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .td4lablewidth {
            width: 150px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .td3_4lablewidth {
            width: 250px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .tblStatistics {
            width: 360px;
        }

        .td1Statistics {
            width: 100px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .td2Statistics {
            width: 100px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .td3Statistics {
            width: 130px;
            padding: 5px;
        }

        .tdhight {
            height: 550px;
            border-collapse: separate !important;
        }

        .tdWidth {
            width: 180px;
            padding-left: 5px;
            padding-bottom: 5px;
            padding-top: 5px;
            padding-right: 5px;
        }

        .ConfirmationPopup1 {
            position: absolute !important;
            top: 300px !important;
            left: 340px !important;
        }

        .trdisplay {
display:block;
        }
        .trdisplayNone {
display:none;
        }


        .lblBlotterPaddingRightCust {
            padding-right: 35px !important;
        }

        .tdpadding td {
            padding: 5px !important;
        }
    </style>
    
     <asp:UpdatePanel ID="pnlupd" runat="server" UpdateMode="Conditional" >
        <ContentTemplate>
    
                    <table class="Filter"  style="border-color:Blue;border-style:groove">
       <tr><td colspan="2" align="center"><asp:Label ID="lblErrorMessage" runat="server" CssClass="DCDinfo_Panel" ClientIDMode="Static" EnableViewState="true"></asp:Label></td></tr>
                         <tr>
         <td align="center">
                
                <asp:label ID="lblAccountInfo" runat="server" CssClass="lbl"  TabIndex="100" Text ="Account Information"
                    ReadOnly="True"></asp:label>
                  </td>  
                  <td align="center">
                   <asp:label ID="lblBNMNum" runat="server" CssClass="lbl"  TabIndex="100" Text="BNM Number"
                    ReadOnly="True"></asp:label>
                  </td> 
                       
        </tr>
        
         <tr>
                  <td align="center">
                <asp:label ID="lblAccName1" runat="server" CssClass="lbl"  TabIndex="100" Text ="Account Name 1"
                    visible="false"></asp:label>
                  </td>  
                  <td align="center">
                   <asp:TextBox ID="txtACCName1" runat="server" CssClass="txt"  TabIndex="100" visible="false" Width="200px"></asp:TextBox>
                   
                  </td>
               </tr>
               <tr>
                   <td align="center">
                <asp:label ID="lblAccName2" runat="server" CssClass="lbl"  TabIndex="100" Text ="Account Name 2"
                    visible="false"></asp:label>
                  </td>  
                  <td align="center">
                   <asp:TextBox ID="txtACCName2" runat="server" CssClass="txt"  TabIndex="100" visible="false" Width="200px"></asp:TextBox>
                   
                  </td>
               
               </tr>   
                   <tr>
                   <td align="center">
                <asp:label ID="lblAccName3" runat="server" CssClass="lbl"  TabIndex="100" Text ="Account Name 3"
                    visible="false"></asp:label>
                  </td>  
                  <td align="center">
                   <asp:TextBox ID="txtACCName3" runat="server" CssClass="txt"  TabIndex="100" visible="false" Width="200px"></asp:TextBox>
                    
                  </td>
               
               </tr>   
                 
               
                   <tr>
                   <td align="center">
                <asp:label ID="lblAccName4" runat="server" CssClass="lbl"  TabIndex="100" Text ="Account Name 4"
                    visible="false"></asp:label>
                  </td>  
                  <td align="center">
                   <asp:TextBox ID="txtACCName4" runat="server" CssClass="txt"  TabIndex="100"  visible="false" Width="200px"></asp:TextBox>
                  
                  </td>
               
               </tr>   
          
                   <tr>
                   <td align="center">
                <asp:label ID="lblAccName5" runat="server" CssClass="lbl"  TabIndex="100" Text ="Account Name 5"
                    visible="false"></asp:label>
                  </td>  
                  <td align="center">
                   <asp:TextBox ID="txtACCName5" runat="server" CssClass="txt"  TabIndex="100" visible="false" Width="200px"></asp:TextBox>
                    
                  </td>
               
               </tr>   
        <tr>
               <td colspan="2">
               &nbsp;
               </td>
               </tr>
         
                   <tr>
                   <td colspan="2" align="center">
                <input  id="btnOk"  runat="server" value="Ok" type="button" name="BtnOk" Class="btn" style="font-weight:bold;color:Blue" />
  
     
   
                  
                   <input  id="btnCancel" runat="server" value="Cancel" type="button" name="BtnCancel"  Class="btn" style="font-weight:bold;color:Blue" />
                  </td>
               
               </tr> 
               <tr>
               <td colspan="2">
               &nbsp;
               </td>
               </tr>  
               <tr>
               <td colspan="2" align="center">
               <asp:label ID="lblInfo" runat="server" CssClass="lbl"  TabIndex="100" Text ="Note : This BNM approval id will be sent to FEA for limit to be consumed . Please ensure the correct value is entered. "
                    ></asp:label>
               </td>
               
               </tr>
    </table>
                 </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

