skin-roleadd.ascx

来自「ASP.NET简洁论坛源代码 这是一个简单的论坛」· ASCX 代码 · 共 21 行

ASCX
21
字号
<%@ Control Language="C#" Inherits="NetFocus.Web.Applications.Forum.RoleAdd, NetFocus.Web.Applications.Forum" AutoEventWireup="true" %>

<script type="text/javascript">
    function CheckValue()
    {
        AssertNull(event, '<%= subjectTextBox.ClientID %>', '角色名称不能为空!');
    }
</script>

<div class="AdminArea">
    <fieldset>
        <legend><nwap:ResourceLiteral runat="server" ResourceName="System_ControlPanel_Role_AddControlTitle" ResourceFile="ControlPanelResources.xml" /></legend>
        <div class="FormRow">
            <nwap:ResourceLabel CssClass="FieldName" runat="Server" ControlToLabel="subjectTextBox" ResourceFile="ControlPanelResources.xml" ResourceName="System_ControlPanel_Role_Name" />
            <nwap:ValuedTextBox Runat="server" CssClass="InputField MiddleWidth" id="subjectTextBox" />
        </div>
        <div class="FormRow SubmitButtonRow">
            <nwap:Resourcebutton OnClientClick="CheckValue()" id="saveButton" ResourceName="Save" CssClass="Button" Runat="server"></nwap:Resourcebutton>
        </div>
    </fieldset>
</div>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?