productdescriptorsdisplaycontrol.ascx

来自「C#语言制作asp.net网上商店的」· ASCX 代码 · 共 42 行

ASCX
42
字号
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="ProductDescriptorsDisplayControl.ascx.vb" Inherits="Shop_Product_Controls_ProductDescriptorsDisplayControl" %>



	<%
	    For Each desc As NetShopForge.Library.Product.ProductDescriptorInfo In DescriptorList

	%>
	 <div class ="hr"></div>
	  
		 <div  class ="product-section-title"><%=desc.Title%></div>
		 
		 <%
			 If desc.IsBulletedList Then
		 %>
		<div class="product-section"> <ul>
		 <%
			 Dim sList As String() = desc.Descriptor.Split(ControlChars.Cr, ControlChars.Lf)
				For Each listItem As String In sList
					If (Not String.IsNullOrEmpty(listItem)) Then
		%>
			<li><%=listItem%></li>
		
		<%
					End If
				Next listItem
		%>
		</ul></div><div class="blankbox"></div>
		<%
			 Else
		%><div class="product-section"> 
			<%=NetShopForge.Common.Utility.ToggleHtmlBR(desc.Descriptor, True)%></div><div class="blankbox"></div>
		<%
			 End If
		%>
	

	<%
		Next desc
	%>

                        

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?