ASP.NET BulletedList DisplayModeProperties
BulletedList Control
Definition and Usage
The DisplayMode property is used to get or set the type of list displayed.
Syntax
<asp:BulletedList DisplayMode="mode" runat="server">
Some Content
</asp:BulletedList>
Some Content
</asp:BulletedList>
| Property | Description |
|---|---|
| mode | Specifies the display mode of the list items. Possible values:
|
Example
The following example sets the DisplayMode of the BulletedList control:
<form runat="server">
<asp:Bulletedlist DisplayMode="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="EXAMPLE"
??Value="http://www.example.com/" />
</asp:Bulletedlist>
</form>
<asp:Bulletedlist DisplayMode="HyperLink"
id="bl1" runat="server">
??<asp:ListItem Text="EXAMPLE"
??Value="http://www.example.com/" />
</asp:Bulletedlist>
</form>
Live Demo »
BulletedList Control Other Extensions