How to: Add BulletedList Web Server Controls to a Web Forms Page
The BulletedList control can display static text in a list that is either unordered (bulleted) or ordered (numbered).
To add a BulletedList Web server control to a Web Forms page
From the Standard tab of the Toolbox, drag a BulletedList control onto the page.
In the Properties window, set the DisplayMode property to one of the following values to specify how the control displays list items:
Text Items are displayed as plain text.
HyperLink Items are displayed as hyperlinks.
LinkButton Items are displayed as links that perform a postback.
Add list items to the control in one of the following ways:
Add individual items. For details, see How to: Add Items in List Web Server Controls.
Bind data to the control. For details, see How to: Populate List Web Server Controls from a Data Source.
Note
If you have set the DisplayMode property to HyperLink, specify the target URLs of the hyperlinks in each item's Value property.
In the Properties window, set the BulletStyle property to specify whether the control displays items as bullets or as numbers. To create a numbered, or ordered, list, set the property to one of the following enumeration values:
To create a bulleted, or unordered, list, set the property to one of the following values:
To display bullets as custom images, set the BulletStyle property to the URL of a graphic. The same graphic is displayed for each item.