<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoleEdit.aspx.cs" Inherits="Chaokers.CN.SysMembership.Web.RoleEdit" %>
<%@ Register assembly="Chaokers.CN.SysMembership.Components" namespace="Chaokers.CN.SysMembership.Components.Controls" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<asp:Literal runat="server">角色管理</asp:Literal>    
</head>
<body>
<form id="form1" runat="server">
<div id="wrapper">    

    <cc1:CurrLocation ID="CurrLocation1" runat="server" InnerText="角色与权限" />
    
    <div id="mainContainer"> 

    <table cellspacing="0" cellpadding="3" class="editTable" border="1" bordercolor="<% = base.AppTheme.MainBorderColor %>" style="border-collapse:collapse;">
    <thead>
    <td height="20" colspan="2">
        <b><asp:Label ID="lblOperation" runat="server">添加角色</asp:Label></b>  
    </td>
    </thead>
    <tr>
    <th>* 角色名称</th>
    <td>        
      <asp:TextBox ID="txtRoleName" runat="server"
           CssClass="input"
           Width="200px"
           />       
      <asp:RequiredFieldValidator id="rfvRoleName" runat="server" 
           ErrorMessage="角色名称不能为空!" 
           ControlToValidate="txtRoleName" 
           Display="None" />            
    </td>     
    </tr>
    <tr>
    <th>角色描述</th>
    <td>
        <asp:TextBox ID="txtRoleDesc" runat="server" CssClass="input" Width="200px"></asp:TextBox>      
    </td>
    </tr>
    <tr>
    <td colspan="2" style="text-align:center">
          <asp:Button ID="btnSubmit" runat="server"
               Text=" 保存 "
               CssClass="btn"
               OnClick="btnSubmit_Click" />
          <asp:Label ID="lblResult" runat="server" />
          
          <asp:Button ID="btnCancel" runat="server"
               Text=" 返回 "
               CssClass="btn" 
               Onclick="btnCancel_Click"
               CausesValidation="false"
               />
          
          <asp:ValidationSummary id="ValidationSummary2"  runat="server" 
               ShowMessageBox="True" 
               ShowSummary="False" />
    </td>
    </tr>
    </table>

    </div><!--"mainContainer.END"-->

</div><!--"wrapper.END"-->
</form>    

</body>
</html>
