Latest web development tutorials

ASP.NET BulletedList DisplayMode property

BulletedList control BulletedList control

Definition and Usage

Type DisplayMode property Gets or sets a list of the displayed.

grammar

<asp:BulletedList DisplayMode="mode" runat="server">
Some Content
</asp:BulletedList>

属性 描述
mode 规定列表项的显示模式。

可能的值:

  • Text - 默认。标准文本
  • HyperLink - 超链接
  • LinkButton - 超链接按钮


Examples

The following examples set DisplayMode BulletedList control:

<form runat="server">
<asp:Bulletedlist DisplayMode="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="W3CSchool"
??Value="http://www.w3cschool.cc/" />
</asp:Bulletedlist>
</form>

The demonstration >>

BulletedList control BulletedList control