<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MstIntBankAccountCapture.ascx.cs" Inherits="APC.Forms.UserControls.MstIntBankAccountCapture" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext"%>
<ext:FormPanel 
        ID="BankCapturePanel" 
        runat="server"
        AutoHeight="true"
        AutoWidth="true"
        BodyPadding="0"
DefaultAnchor="100%" Header="false" BodyBorder="0" Border="true" Height="300" AutoScroll="true">
<Items>
<ext:FieldSet runat="server" ID="fsBankDetails" Title="Bank Information">
<Items>
    <ext:FieldContainer ID="BankContainer" runat="server" MsgTarget="Side" CombineErrors="true">
    <Items>
    <ext:Container runat="server" Layout="Column">
    <Items>
      <ext:TextField ID="txtBankName" runat="server" FieldLabel="Bank" Name="BankName" AllowBlank="false" runat="server" LabelAlign="Top" ColumnWidth=".5" Padding="2"/>
      <ext:TextField ID="txtBankSwift" runat="server" FieldLabel="Swift Code" Name="BankSwift" AllowBlank="false" runat="server" ColumnWidth=".5" LabelAlign="Top" Padding="2" />
      </Items>
    </ext:Container>
     <ext:Container ID="Container1" runat="server" Layout="FormLayout">
     <Items>     
        <ext:TextArea ID="txtBankAddress" runat="server" FieldLabel="Address" Height="60" Name="BankAddress" AllowBlank="false" AutoScroll="true" LabelAlign="Top"/>
        </Items>
        </ext:Container>
     </Items>
    </ext:FieldContainer>
</Items>
</ext:FieldSet>
<ext:FieldSet runat="server" ID="fsAccountDetails" Title="Account Information">
<Items>
     <ext:FieldContainer ID="AccountContainer" runat="server" MsgTarget="Side" CombineErrors="true" Layout="AnchorLayout">
     <Items>
         <ext:Container ID="Container2" runat="server" Layout="Column">
        <Items>
            <ext:TextField ID="txtAccountName" runat="server" FieldLabel="Name" Name="AccountName" AllowBlank="false" runat="server" MsgTarget="Side"  LabelAlign="Top" ColumnWidth=".5" Padding="2"/>
            <ext:TextField ID="txtAccountNumber" runat="server" FieldLabel="Number" Name="AccountNumber" AllowBlank="false" MsgTarget="Side" runat="server" LabelAlign="Top" ColumnWidth=".5" Padding="2"/>
        </Items>
        </ext:Container>
         <ext:Container ID="Container3" runat="server" Layout="FormLayout">
        <Items>
            <ext:TextArea ID="txtAccountAddress" runat="server" FieldLabel="Address" Height="60" Name="AccountAddress" AllowBlank="false" AutoScroll="true" LabelAlign="Top"/>
         </Items>
         </ext:Container>
        </Items>
    </ext:FieldContainer>
</Items>
</ext:FieldSet>
<ext:FieldSet runat="server" ID="fsInterDetails" Title="Intermediary Information">
<Items>
    <ext:FieldContainer ID="InterFieldContainer" runat="server" MsgTarget="Side" CombineErrors="true" Layout="AnchorLayout">
    <Items>
        <ext:Container ID="Container4" runat="server" Layout="Column">
        <Items>
            <ext:TextField ID="txtInterName" runat="server" FieldLabel="Name" Name="InterName" runat="server" LabelAlign="Top" ColumnWidth=".5" Padding="2">
                <RemoteValidation OnValidation="ValidateInter" />   
            </ext:TextField>
            <ext:TextField ID="txtInterNumber" runat="server" FieldLabel="Number" Name="InterNumber" runat="server" LabelAlign="Top" ColumnWidth=".5" Padding="2">
                <RemoteValidation OnValidation="ValidateInter" />   
            </ext:TextField>
        </Items>
        </ext:Container>
         <ext:Container ID="Container5" runat="server" Layout="FormLayout">
         <Items>
            <ext:TextArea ID="txtInterAddress" runat="server" FieldLabel="Address" Height="60" Name="InterAddress" AutoScroll="true" LabelAlign="Top">
            <RemoteValidation OnValidation="ValidateInter" />   
            </ext:TextArea>
        </Items>
        </ext:Container>
    </Items>
    </ext:FieldContainer>
</Items>
</ext:FieldSet>
</Items>
</ext:FormPanel>