您目前尚未登陆,请选择【登陆】或【注册
首页->新闻文章->破竹CMS4.0免安装版源码>>admin/Security/EditRoleGroups.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:破竹CMS4.0免安装版源码
当前文件:文件类型 PozhuCMS/admin/Security/EditRoleGroups.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" MasterPageFile="~/admin/Manage.master" AutoEventWireup="true" CodeFile="EditRoleGroups.aspx.cs" Inherits="admin_Security_EditRoleGroups" Title="Untitled Page" %> 2 3<%@ Register Src="../UserMenu.ascx" TagName="UserMenu" TagPrefix="uc1" %> 4<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="Server"> 5 <uc1:UserMenu ID="UserMenu1" runat="server" TabIndex="1" /> 6 <div id="tabChildMenu"> 7 <a href="roles.aspx"><span class="icon_securityroles">所有角色</span></a> 8 </div> 9 <asp:Panel ID="plState" runat="server"> 10 </asp:Panel> 11 <asp:Repeater runat="server" ID="rptRoleGroups" OnItemDataBound="rptRoleGroups_ItemDataBound" OnItemCommand="rptRoleGroups_ItemCommand"> 12 <HeaderTemplate> 13 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 14 <tr> 15 <th class="listHeader"> 16 &nbsp;</th> 17 <th class="listHeader"> 18 &nbsp;</th> 19 <th class="listHeader"> 20 角色名称</th> 21 <th class="listHeader"> 22 角色描述</th> 23 </tr> 24 </HeaderTemplate> 25 <ItemTemplate> 26 <tr> 27 <td class="listItem" style="width:50px;"> 28 <asp:LinkButton ID="lbtnEdit" runat="server" CssClass="edit" CommandName="edit" CausesValidation="false">编辑</asp:LinkButton> 29 <asp:LinkButton ID="lbtnUpdate" runat="server" CssClass="save" CommandName="update" Visible="false" CommandArgument='<%# Bind("RoleGroupID") %>' ValidationGroup="update">更新</asp:LinkButton></td> 30 <td class="listItem" style="width:50px;"> 31 <asp:LinkButton ID="lbtnDelete" runat="server" CssClass="delete" CommandName="delete" CommandArgument='<%# Bind("RoleGroupID") %>' CausesValidation="false">删除</asp:LinkButton> 32 <asp:LinkButton ID="lbtnCancel" runat="server" CssClass="cancel" CommandName="cancel" Visible="false" CausesValidation="false">取消</asp:LinkButton></td> 33 <td class="listItem" style="width:180px;"> 34 <asp:Label ID="lblRoleGroupName" runat="server" Text='<%# Eval("RoleGroupName")%>'></asp:Label> 35 <asp:TextBox ID="tbRoleGroupName" runat="server" Text='<%# Eval("RoleGroupName")%>' Visible="false"></asp:TextBox> 36 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="tbRoleGroupName" ValidationGroup="update"></asp:RequiredFieldValidator> 37 </td> 38 <td class="listItem"> 39 &nbsp; 40 <asp:Label ID="lblDescription" runat="server" Text='<%# Eval("Description")%>'></asp:Label> 41 <asp:TextBox ID="tbDescription" runat="server" Text='<%# Eval("Description")%>' Visible="false" TextMode="MultiLine" Columns="30" Rows="2"></asp:TextBox> 42 </td> 43 </tr> 44 </ItemTemplate> 45 <FooterTemplate> 46 <tr> 47 <td class="listFooter" style="width:100px;" colspan="2"> 48 <asp:LinkButton ID="lbtnAddNew" runat="server" CommandName="add" CssClass="save" ValidationGroup="addnew">添加新角色组</asp:LinkButton> 49 </td> 50 <td class="listFooter" style="width:180px;"> 51 <asp:TextBox ID="tbRoleGroupName" runat="server" Columns="20"></asp:TextBox> 52 <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="tbRoleGroupName" ValidationGroup="addnew"></asp:RequiredFieldValidator> 53 </td> 54 <td class="listFooter"> 55 <asp:TextBox ID="tbDescription" runat="server" TextMode="MultiLine" Columns="30" Rows="2"></asp:TextBox> 56 </td> 57 </tr> 58 </table> 59 </FooterTemplate> 60 </asp:Repeater> 61</asp:Content> 62 63
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:破竹CMS4.0免安装版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号