<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="AddUserWebAuthority.aspx.cs" Inherits="Administration_AddUserWebAuthority" Title="Administration_AddUserWebAuthority" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<center>
    <table>
        <tr>
            <td colspan="2">
                </td>
        </tr>
        <tr>
            <td rowspan="2" style="width: 100px">
                <asp:TreeView ID="TreeView1"  DataSourceID="SiteMapDataSource1" runat="server" ShowCheckBoxes="All" OnDataBound="TreeView1_DataBound">
                </asp:TreeView>
            </td>
            <td style="width: 400px">
                <asp:Button ID="btnApply" runat="server" Text="<%$ Resources: Universal, Comm_Apply %>" OnClick="btnApply_Click" />
                <asp:Button ID="btnDelete" runat="server" Text="<%$ Resources: Universal, Data_Delete %>" OnClick="btnDelete_Click" /></td>
        </tr>
        <tr>
            <td style="width: 400px">
                <asp:GridView ID="GridView1" AutoGenerateColumns="False" runat="server" CellPadding="4" DataSourceID="ObjectDataSource1"
                    ForeColor="#333333" GridLines="None" AllowPaging="True" PageSize="20" OnRowDataBound="GridView1_RowDataBound">
                    <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <RowStyle BackColor="#EFF3FB" />
                    <EditRowStyle BackColor="#2461BF" />
                    <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                    <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                    
                    <Columns>
                        <asp:TemplateField HeaderText="<%$ Resources: Universal, Comm_Apply %>">
                            <ItemTemplate>
                                <asp:CheckBox ID="chkApply" runat="server" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="<%$ Resources: Universal, Employee_Name %>">
                            <ItemTemplate>
                                <asp:Label ID="lblName" Text='<%# Eval("Name") %>' runat="server" Width="100px"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Width="100px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="<%$ Resources: Universal, Login_UserName %>">
                            <ItemTemplate>
                                <asp:Label ID="lblAccount" Text='<%# Eval("Account") %>' runat="server" Width="100px"></asp:Label>
                            </ItemTemplate>
                            <ItemStyle Width="100px" />
                        </asp:TemplateField>
                    </Columns>
                    
                    
                </asp:GridView>
            </td>
        </tr>
    </table>
    
    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"   />
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" TypeName="HR_EmployeesData" SelectMethod="SelectExcludeLeave"></asp:ObjectDataSource>
</center>
</asp:Content>

