<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PagesRightConfig.aspx.cs" Inherits="Pages_System_Employees_PagesRightConfig"  %>
<!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 id=Right style="width:35%; margin:12px; padding:12px; float:left; border:1px solid #ccc;">
        <div style="margin-left:24px;margin-top:18px;">
            页面列表
                    <asp:TreeView ID=TreeView1 runat=server   
                        ShowExpandCollapse=true
                        ExpandDepth=1
                        OnSelectedNodeChanged=TreeView1_SelectedNodeChanged
                        OnTreeNodeCheckChanged=TreeView1_TreeNodeCheckChanged  />                        
                                 
        </div>  
    </div>
    <div id=Left style="width:45%; margin:12px; padding:12px; float:right; border:1px solid #ccc;">
        <table width=100% border=1>
            <tr>
                <td width=60>所选页面</td><td><asp:TextBox ID=txtSelectedPage runat=server Enabled=false /></td><td colspan=2>&nbsp;</td>
            </tr>
            <tr>
                <td>操作名称</td><td><asp:TextBox ID=txtPagesRightName runat=server /></td>
                <td width=40>序号</td><td width=40><asp:TextBox ID=txtPagesRightNo runat=server /></td>
            </tr>
            <tr>
                <td colspan=4><asp:Button ID=Button1 runat=server OnClick="Button1_Click" Text="添加" /><asp:Button ID=Button2 runat=server Text="修改" OnClick="Button2_Click" /></td>
            </tr>
        </table>
        <div style="margin-top:24px;">
        <asp:GridView ID=GridView1 runat=server 
                 OnSelectedIndexChanging=GridView1_SelectedIndexChanging
                 OnRowDeleting=GridView1_RowDeleting
                 OnPageIndexChanging=GridView1_PageIndexChanging >
            <Columns>
                <asp:BoundField DataField="操作名称" HeaderText="操作名称" />
                <asp:BoundField DataField="序号" HeaderText="序号" />
                <asp:CommandField ShowSelectButton=True HeaderText="选择" ButtonType=image SelectImageUrl="../../../images/icon/edit.gif" ItemStyle-HorizontalAlign=center />            
                <asp:CommandField ShowDeleteButton=True HeaderText="删除" ButtonType=image DeleteImageUrl="../../../images/icon/del.gif" ItemStyle-HorizontalAlign=center/>              
            </Columns>            
        </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
