您目前尚未登陆,请选择【登陆】或【注册
首页->新闻文章->破竹CMS4.0免安装版源码>>admin/PropertyDefinition/PropertyDefinitions.aspx>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:破竹CMS4.0免安装版源码
当前文件:文件类型 PozhuCMS/admin/PropertyDefinition/PropertyDefinitions.aspx打开代码结构图
普通视图
		            
1<%@ Page Language="C#" MasterPageFile="~/admin/Manage.master" AutoEventWireup="true" CodeFile="PropertyDefinitions.aspx.cs" Inherits="admin_PropertyDefinition_PropertyDefinitions" Title="Untitled Page" %> 2<%@ Register Src="../Location.ascx" TagName="Location" TagPrefix="uc1" %> 3<%@ Register Src="../TabMenu.ascx" TagName="TabMenu" TagPrefix="uc2" %> 4<%@ Register Assembly="Pozhu" Namespace="Pozhu.UI.WebControls" TagPrefix="pz" %> 5 6<asp:Content ID="Content1" ContentPlaceHolderID="cphMain" Runat="Server"> 7 <uc1:Location ID="Location1" runat="server" /> 8 <uc2:TabMenu ID="TabMenu1" runat="server" /> 9 <div id="tabChildMenu"> 10 <a href="editPropertyDefinition.aspx?action=add&path=<%= Request.QueryString["path"] %>&tabindex=<%= Request.QueryString["tabindex"] %>&Identify=<%= Request.QueryString["Identify"] %>"> 11 <span class="add">添加属性</span></a> <a href="editPropertyDefinitionCategory.aspx?action=add&path=<%= Request.QueryString["path"] %>&tabindex=<%= Request.QueryString["tabindex"] %>&Identify=<%= Request.QueryString["Identify"] %>"> 12 <span class="add">添加属性分类</span></a> 13 </div> 14 15 <pz:WrappedRepeater runat="server" ID="rptPropertyCategories" OnItemCommand="rptPropertyCategories_ItemCommand" 16 OnItemDataBound="rptPropertyCategories_ItemDataBound" ShowHeaderFooterOnNone="false"> 17 <HeaderTemplate> 18 <table border="0" cellpadding="0" cellspacing="0" style="width:100%; margin-bottom:6px;"> 19 <tr> 20 <th class="listHeader" style="width: 30px;"> 21 编号</th> 22 <th class="listHeader" style="width: 150px;"> 23 名称</th> 24 <th class="listHeader"> 25 所在路径</th> 26 <th class="listHeader"> 27 属性类型</th> 28 <th class="listHeader"> 29 描述</th> 30 <th class="listHeader"> 31 &nbsp;</th> 32 <th class="listHeader"> 33 &nbsp;</th> 34 </tr> 35 </HeaderTemplate> 36 <ItemTemplate> 37 <tr> 38 <td class="listGroup" colspan="2"> 39 <%# Eval("Title") %> 40 </td> 41 <td class="listGroup"> 42 <asp:Literal ID="ltlPath" runat="server" Text='<%# CategoryController.GetCategory( int.Parse(Eval("categoryID").ToString())).Path %>'></asp:Literal></td> 43 <td class="listGroup"> 44 &nbsp; 45 </td> 46 <td class="listGroup"> 47 &nbsp;<%# Eval("Description")%> 48 </td> 49 <td class="listGroup"> 50 &nbsp; 51 </td> 52 <td class="listGroup"> 53 <a href="<%# Globals.ApplicationPath + "/admin/PropertyDefinition/" %>editPropertyDefinitionCategory.aspx?action=edit&PropertyCategoryID=<%# Eval("PropertyCategoryID") %>&path=<%# CategoryController.GetCategory( int.Parse(Eval("categoryID").ToString())).Path %>&tabindex=<%= Request.QueryString["tabindex"] %>&Identify=<%= Request.QueryString["Identify"] %>" 54 class="edit" title="修改分类">编辑</a> 55 <asp:LinkButton ID="lbtnDelete" runat="server" CssClass="delete" CommandName="delete" 56 ToolTip="删除" CommandArgument='<%# Eval("PropertyCategoryID") %>'>删除</asp:LinkButton> 57 <asp:LinkButton ID="lbtnDown" runat="server" ToolTip="向上" CssClass="icon_up" CommandName="down" CommandArgument='<%# Eval("PropertyCategoryID") %>'></asp:LinkButton> 58 <asp:LinkButton ID="lbtnUp" runat="server" ToolTip="向下" CssClass="icon_down" CommandName="up" CommandArgument='<%# Eval("PropertyCategoryID") %>'></asp:LinkButton> 59 </td> 60 </tr> 61 <pz:WrappedRepeater runat="server" ID="rptProperties" OnItemCommand="rptProperties_ItemCommand" 62 OnItemDataBound="rptProperties_ItemDataBound"> 63 <ItemTemplate> 64 <tr> 65 <td class="listItem"> 66 (<%# Eval("PropertyDefinitionID")%>) 67 </td> 68 <td class="listItem"><%# Eval("name") %></td> 69 <td class="listItem"> 70 <%# CategoryController.GetCategory(int.Parse(Eval("categoryID").ToString())).Path%> 71 </td> 72 <td class="listItem"> 73 <%# ((Type)Eval("PropertyType")).FullName %> 74 </td> 75 <td class="listItem"> 76 &nbsp;<%# Eval("Description")%> 77 </td> 78 <td class="listItem"> 79 <a href="<%# Globals.ApplicationPath + "/admin/PropertyDefinition/" %>PropertyControlSetting.aspx?PropertyDefinitionID=<%# Eval("PropertyDefinitionID") %>&path=<%# CategoryController.GetCategory( int.Parse(Eval("categoryID").ToString())).Path %>&tabindex=<%= Request.QueryString["tabindex"] %>&Identify=<%= Request.QueryString["Identify"] %>" 80 class="settings" title="修改属性">设置控件</a> 81 </td> 82 83 <td class="listItem"> 84 <a href="<%# Globals.ApplicationPath + "/admin/PropertyDefinition/" %>editPropertyDefinition.aspx?action=edit&PropertyDefinitionID=<%# Eval("PropertyDefinitionID") %>&path=<%# CategoryController.GetCategory( int.Parse(Eval("categoryID").ToString())).Path %>&tabindex=<%= Request.QueryString["tabindex"] %>&Identify=<%= Request.QueryString["Identify"] %>" 85 class="edit" title="修改属性">编辑</a> 86 <asp:LinkButton ID="lbtnDelete" runat="server" CssClass="delete" CommandName="delete" 87 ToolTip="删除" CommandArgument='<%# Eval("PropertyDefinitionID") %>'>删除</asp:LinkButton> 88 <asp:LinkButton ID="lbtnDown" runat="server" ToolTip="向上" CssClass="icon_up" CommandName="down" CommandArgument='<%# Eval("PropertyDefinitionID") %>'></asp:LinkButton> 89 <asp:LinkButton ID="lbtnUp" runat="server" ToolTip="向下" CssClass="icon_down" CommandName="up" CommandArgument='<%# Eval("PropertyDefinitionID") %>'></asp:LinkButton> 90 </td> 91 </tr> 92 </ItemTemplate> 93 </pz:WrappedRepeater> 94 </ItemTemplate> 95 <NoneTemplate> 96 97 <asp:Panel ID="plState" runat="server" CssClass="message"> 98 没有找到任何自定义属性! 99 </asp:Panel> 100 </NoneTemplate> 101 <FooterTemplate> 102 </table> 103 </FooterTemplate> 104 </pz:WrappedRepeater> 105</asp:Content>
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:破竹CMS4.0免安装版源码
51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号