ASP.NET v2.0: Introducing BulletedList Control
page 1 of 5
Published: 30 Oct 2003
Unedited - Community Contributed
Abstract
ASP.NET v2.0: Introducing BulletedList Control
by Colt Kwong
Feedback
Average Rating: 
Views (Total / Last 10 Days): 66231/ 65

ASP.NET v2.0: Introducing BulletedList Control

ASP.NET v2.0: BulletedList control

Overview

Displaying items in a bullet format is a good and clean presentation of data. The order list like <ul> and <li> tags are frequently use especially when we want to display a list of items in list / point format.

For example:


View Entire Article

User Comments

Title: Direct Post   
Name: Icer
Date: 2007-03-20 5:17:40 AM
Comment:
It is pretty easy to redirect to another page: (The display style has to be "Hyperlink")

ListItem item = new ListItem(Title, Url);
BulletedList.Items.Add(item);

That´s it.
Title: Controlling URL in Hyperlink mode   
Name: Patrick Farrell
Date: 2007-02-26 12:36:37 PM
Comment:
In response to Russ's comments. Although it's not necessarily intuitive, when you are using the BulletedList and you have the display mode set to URL, ListItem.Value renders the link url, ListItem.Text renders the display.

http://patf.net/blogs
Title: Images do not exist   
Name: Ozma
Date: 2006-03-22 2:18:56 PM
Comment:
The images in this article are no longer at the URLs used in the markup
Title: Still Can't Post Directly to Another Page   
Name: Russ Brooks
Date: 2006-03-19 3:08:08 PM
Comment:
The control is essentially useless because we still can not post driectly to another page. Like most .NET controls, why isn't there an "Url" attribute and a way to append a query string? True we can use the onclick, capture the event in the code-behind, then redirect with an appended query string, but why cause two requests on the server and skew logging and traffic metrics? Even 5 years after the advent of .NET, Microsoft still thinks a website can be built with a single page.

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2017 ASPAlliance.com  |  Page Processed at 2017-05-27 5:18:08 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search