Introducing BulletedList Control in ASP.NET v2.0

I saw a blog by Juliet in my local blogging site 2 days ago, and she wrote an article about creating a custom control inheriting from Repeater class and then generate a data-bindable list of data in bullet format.

This kind task, I mean create a (un)ordered list, is pretty common in data presentation on the web, it may / may not releated to a data source though. Thomas wrote a receipt (source code) in this subject for the title “ASP.NET Developer's Cookbook” as well.

Moreover, this encourage me to write an article on ASPAlliance yesterday:
ASP.NET v2.0: Introducing BulletedList Control 

This article introduce one of the >45 new server control in ASP.NET v2.0 - BulletedList Control. This control inherits from ListControl class and it work very similar to his brother: CheckBoxList, DropDownList, ListBox and RadioButtonList.

Therefore, no more looping, avoid the “overkill” Repeater control, or even write code to create a custom control for this issue, as ASP.NET v2.0 do it for you now. :-)

No Comments