<%@ page language="C#" autoeventwireup="true" inherits="Authority_UserGroupRight, App_Web_25sgrbhm" theme="Themes" stylesheettheme="Themes" %>
<%@ Register Src="../UserControls/Loading.ascx" TagName="Loading" TagPrefix="uc1" %>
<!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>
        <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
    <script type="text/javascript" src="../js/jquery.js"></script>
</head>
<body>
<div id="loading">
        <div style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background-color: #ffffff;
            z-index: 10; filter: alpha(opacity=90); opacity: 0.9;">
        </div>
        <div id="msg_area" style="z-index: 200; left: 289px; position: absolute; top: 202px;">
            <div id="msgPanel" style="z-index: 200;" height="24px" width="100px" bordercolor="#eeeeee"
                borderstyle="Solid" borderwidth="1px">
                <asp:Image ID="img" runat="server" ImageUrl="~/images/loading.gif" />
                <font style="font-size: 9pt;color:Gray;">loading...读取中......</font>
            </div>
        </div>
    </div>
    <form id="form1" runat="server">
        <div class="right_postion_bg" style="background-color:White;">
       <span class="s_potion_font"><img src="../Images/homen.gif" class="pic_style" /> 当前操作用户组：<asp:Label ID="lblUserGroupName" runat="server"></asp:Label></span>
       </div>
    <div class="box"  style="background-color:White;" >
        <table border="0" cellpadding="5" cellspacing="0" style="width: 100%">
            <tr>
                <td align="left" colspan="2">
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            &nbsp;<asp:Label ID="lblName" runat="server" Font-Bold="True"></asp:Label>
                    <img src="../Images/592.gif" />
                    <asp:DropDownList ID="ddlModule" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlModule_SelectedIndexChanged">
                    </asp:DropDownList>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
        </table>
     </div>
   
         <asp:UpdatePanel ID="UpdatePanel1" runat="server">
             <ContentTemplate>
        <asp:GridView ID="gvFuncation" runat="server" AutoGenerateColumns="False" OnRowDataBound="gvFuncation_RowDataBound" OnRowCommand="gvFuncation_RowCommand">
            <Columns>
                <asp:TemplateField HeaderText="模块内功能权限列表" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <asp:Image ID="imgP" ImageUrl="~/images/44.gif" runat="server" />
                        <asp:Label ID="lbFunId" runat="server" Text='<%# Bind("funid") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lbFunCode" runat="server" Text='<%# Bind("funcode") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lbPreFunId" runat="server" Text='<%# Bind("prefunid") %>' Visible="false"></asp:Label>
                        <asp:LinkButton ID="lbtnName" CommandName="checkall" CommandArgument="1" runat="server"  Text='<%# Bind("cname") %>' Font-Underline="False" ForeColor="Black"></asp:LinkButton>:<br />
                        <asp:CheckBoxList ID="chkAction" runat="server" RepeatColumns="8" RepeatDirection="Horizontal">
                        </asp:CheckBoxList>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <RowStyle HorizontalAlign="Left" />
        </asp:GridView>
             </ContentTemplate>
         </asp:UpdatePanel>
      
         <div class="box"  style="background-color:White; margin:0 auto; padding:0px; text-align:center; padding:5px 0px;" >
             <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="保   存" />
             </div>
        <asp:UpdateProgress ID="UpdateProgress1" runat="server">
            <ProgressTemplate>
                <uc1:Loading ID="Loading1" runat="server" />
            </ProgressTemplate>
        </asp:UpdateProgress>
    </form>
        <script type="text/javascript">
            $("#loading").fadeOut()
</script>
</body>
</html>
