<%@ page language="C#" masterpagefile="PassportMasterPage.master" autoeventwireup="true" inherits="Passport_TransferPoint, HoWaveVGO" title="社区银行转换" enableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:ScriptManager ID="SM1" runat="server" EnablePartialRendering="True" />
<script type="text/javascript">
function onWait()
{
  var obj=document.getElementById("ctl00_ContentPlaceHolder1_TransferPreview");
  obj.innerHtml="请等待";
}
</script>
<div id="Contents" style="width:100%">
   <!--积分转换左侧-->
   <div id="Point_SideBar" style=" border:solid 1px #BBE9FF;float:left; width:20%">
       <div class="tdbg1"><a href="#">通行币转换</a></div>
       <div class="tdbg1"><a href="User_CardCharge.aspx" >充值卡充值</a></div>
    </div>   
    <!--积分转换右侧-->
   <div id="Point_Content" style=" border:solid 1px #BBE9FF; float:right; width:78%;">
       <table class="tbgroup" border="0"  align="center" width="500">
           <tr class="tdbg">
             <td colspan="2" style=" text-align:center; background:#4A85D5; color:White; font-weight:bold;">通行币转换</td>
          </tr>
           <tr class="tdbg">
               <td class="tdbg1">转换频道</td>
               <td>
                  <asp:DropDownList ID="TransferSys" runat="server" AppendDataBoundItems="True" AutoPostBack="True" DataSourceID="ObjectDataSource1" DataTextField="BankFrontName" DataValueField="BankID" OnSelectedIndexChanged="TransferSys_SelectedIndexChanged">
                     <asp:ListItem Text="请选择" Value="-1" />
                  </asp:DropDownList>&nbsp;待转换货币数量为：<asp:Literal ID="OtherPoints" runat="server" /></td>
           </tr>
           <tr class="tdbg">
               <td class="tdbg1">转换方式</td>
               <td>
                  <asp:RadioButtonList ID="TransferType" runat="server" RepeatDirection="Horizontal">
                     <asp:ListItem Text="通行币转其它货币" Value="1" />
                     <asp:ListItem Text="其它货币转通行币" Value="2" />
                  </asp:RadioButtonList></td>
           </tr>
            <tr class="tdbg">
               <td class="tdbg1">通行币数量</td>
               <td><asp:Literal ID="GoldCoin" runat="server" /></td>
           </tr>
           <tr class="tdbg">
               <td class="tdbg1">转换数量</td>
               <td><asp:TextBox ID="PointNums" runat="server" OnTextChanged="PointNums_TextChanged" AutoPostBack="true" />
                   <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                       <ContentTemplate>
                           <asp:Label ID="TransferPreview" runat="server" ForeColor="red"/>
                       </ContentTemplate>
                       <Triggers>
                         <asp:AsyncPostBackTrigger ControlID="PointNums" />
                       </Triggers>
                   </asp:UpdatePanel>
               </td>
                </tr>
           <tr class="tdbg">
               <td class="tdbg1">转换比率</td>
               <td><asp:Literal ID="ExchangeRate" runat="server" />个其它货币：1个通行币</td>
           </tr>
           <tr class="tdbg">
               <td class="tdbg1">转换手续费</td>
               <td><asp:Literal ID="Charge" runat="server" />%</td>
           </tr>
       </table>
       <div  style="margin:10px 0 0 0; text-align:center;border:solid 1px #BBE9FF; background:#F5FBFF"><asp:Button ID="Submit" Text="提交" runat="server" OnClick="Submit_Click" /></div>
   </div>



</div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetBanks"  TypeName="BankBLL"/>

</asp:Content>

