[fix]Config创建默认配置文件的开关Runtime.CreateConfigOnMissing,仅需对自动创建生效,而不应该阻止用户主动Save
智能大石头 authored at 2024-08-09 00:30:41 石头 committed at 2024-08-10 14:22:24
2.32 KiB
X
<%@ Page Title="模版内容管理" Language="C#" MasterPageFile="~/Admin/ManagerPage.master"
    AutoEventWireup="true" CodeFile="TemplateContentForm.aspx.cs" Inherits="Common_TemplateContentForm"
    ValidateRequest="false" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="C">
    <table border="0" class="m_table" cellspacing="1" cellpadding="0" align="Center">
        <tr>
            <th colspan="2">
                模版内容
            </th>
        </tr>
        <tr>
            <td align="right">
                模版项:
            </td>
            <td>
                <XCL:NumberBox ID="frmTemplateItemID" runat="server" Width="80px"></XCL:NumberBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                模版内容:
            </td>
            <td>
                <asp:TextBox ID="frmContent" runat="server" TextMode="MultiLine" Width="300px" Height="300px"></asp:TextBox>
            </td>
        </tr>
        <%--<tr>
            <td align="right">内容备份:</td>
            <td><asp:TextBox ID="frmContentBackup" runat="server" TextMode="MultiLine" Width="300px" Height="80px"></asp:TextBox></td>
        </tr>
<tr>
            <td align="right">版本:</td>
            <td><XCL:NumberBox ID="frmVersion" runat="server" Width="80px"></XCL:NumberBox></td>
        </tr>
<tr>
            <td align="right">作者编号:</td>
            <td><XCL:NumberBox ID="frmUserID" runat="server" Width="80px"></XCL:NumberBox></td>
        </tr>
<tr>
            <td align="right">作者:</td>
            <td><asp:TextBox ID="frmUserName" runat="server" Width="150px"></asp:TextBox></td>
        </tr>
<tr>
            <td align="right">创建时间:</td>
            <td><XCL:DateTimePicker ID="frmCreateTime" runat="server"></XCL:DateTimePicker></td>
        </tr>
        --%>
    </table>
    <table border="0" align="Center" width="100%">
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" runat="server" CausesValidation="True" Text='保存' />
                &nbsp;<asp:Button ID="btnReturn" runat="server" OnClientClick="parent.Dialog.CloseSelfDialog(frameElement);return false;"
                    Text="返回" />
            </td>
        </tr>
    </table>
</asp:Content>