<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RoleConfig.aspx.cs" Inherits="Pages_System_Basic_RoleConfig"  %>
<!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 id="Head1" runat="server">
    <title>左侧导航栏</title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin:24px;;">
        角色列表
        <asp:TreeView ID=TreeView1 runat=server 
            OnSelectedNodeChanged=TreeView1_SelectedNodeChanged 
            ShowExpandCollapse=true style="border-right: #9999cc thin dotted; border-top: #9999cc thin dotted; border-left: #9999cc thin dotted; border-bottom: #9999cc thin dotted" />
    </div>  
    <div style="margin:24px;">
        <table border=1>
            <tr>
                <td colspan=3 style="font-weight:bold;">新增、修改、删除角色</td>
            </tr>
            <tr>
                <td width=60>角色名称</td><td width=200><asp:TextBox ID=txtRoleName runat=server /></td>
            </tr>
            <tr>
                <td width=60>序号</td><td width=200><asp:TextBox ID=txtNo runat=server />
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="序号为1-3位整数" ControlToValidate="txtNo" ValidationExpression="\d{1,3}" Display=Dynamic></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td width=60>上级角色</td><td><asp:DropDownList ID=ddlPreRole runat=server /></td>
            </tr>
            <tr>
                <td colspan=2><asp:Button ID=Button1 runat=server Text="修改" OnClick=Button1_Click /><asp:Button ID=Button2 runat=server Text="删除" OnClick=Button2_Click /><asp:Button ID=Button3 runat=server Text="新增" OnClick=Button3_Click /></td>
            </tr>
        </table>
    
    </div>  
    </form>
</body>
</html>
