<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Admin/AdminMain.Master" Inherits="System.Web.Mvc.ViewPage<MvcEnterprise.Services.Setting>" %>

<asp:Content ID="Content0" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
    <script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>
    <script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.loading.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin.js" type="text/javascript"></script>
	<script src="../../Scripts/AjaxSubmitForm.js" type="text/javascript"></script>
    <% Html.EnableClientValidation(); %>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    在线支付设置
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%
        using (Html.BeginForm("Setting","Admin"))
		//using (Ajax.BeginForm("Setting", "Admin", new AjaxOptions { OnBegin = "function(){$.showLoading('form', '#ajaxLoading');}", OnComplete = "function(){$.hideLoading();}" }))
		{%>
	<fieldset>
	<legend>财付通设置</legend>
    <div>
        <span class="editor-label"><%= Html.LabelFor(m=>m.TenpayBid) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(m => m.TenpayBid)%> <%=Html.DisplayToolTipFor(m => m.TenpayBid)%>
            <%=Html.ValidationMessageFor(m => m.TenpayBid)%></span>
    </div>
    <div>
        <span class="editor-label"><%= Html.LabelFor(m=>m.TenpayKey) %>：</span>
        <span class="editor-field"><%= Html.TextBoxFor(m => m.TenpayKey)%> <%=Html.DisplayToolTipFor(m => m.TenpayKey)%>
            <%=Html.ValidationMessageFor(m => m.TenpayKey)%></span>
    </div>
	</fieldset>
    <p><input type="submit" value="保 存" /></p>
    <% } %>
</asp:Content>

