ASP.NET DisplayMode Property
Complete BulletedList Control Reference
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> |
| Attribute |
Description |
| mode |
Specifies the list item display mode. Possible
Values:
- Text - Default. Standard Text
- HyperLink - Hyperlink
- LinkButton - Hyperlink Button
|
Example
The following example sets the DisplayMode of a BulletedList control:
<form runat="server">
<asp:Bulletedlist DisplayMode="HyperLink"
id="bl1" runat="server">
<asp:ListItem Text="W3Schools"
Value="http://www.w3schools.com/" />
</asp:Bulletedlist>
</form>
|
Show example »
|
Complete BulletedList Control Reference
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4000 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|