Skip Navigation LinksASP.Net 2.0 Training : ASP.Net BulletedList
Banner for ASP.Net 2.0 training classes in Visual Basic 2005 

Skip Navigation Links
ASP.Net 2.0 Training
VS File Management
ASP.Net Image
ASP.Net Checkbox
ASP.Net ImageButton
ASP.Net RadioButton
ASP.Net Literal
ASP.Net Panel
ASP.Net LinkButton
ASP.Net Calendar
ASP.Net BulletedList
ASP.Net FileUpload
ASP.Net User Controls
ASP.Net PlaceHolder
ASP.Net Lists
ASP.Net CheckBoxList
ASP.Net DropDownList
ASP.Net Data Access
ASP.Net DetailsView
ASP.Net FormView
ASP.Net Repeater Control
ASP.Net:Master Pages
Sending EMail
MultiView
Tabbed MultiView
ASP.Net:Wizard Control
Login Controls 1
ASP.Net:Site Navigation
ASP.Net:Classes
ASP.Net:SQLDataSource Control
ASP.Net:Error Handling
ASP.Net:dataTables
ASP.Net:datasets

Visit my other site:

Free Flash 8 tutorials and training

Free Dreamweaver Video Tutorials

Free PHP Training




If you like this site please link to it


BulletedList Control

The bulletedList Control renders as either an ordered list (numbered)or unordered list(bulleted)

    Each list can be rendered as:
  • Plain text
  • A LinkButton Control
  • Link to another page

  • Open Visual Studio
  • Add a new webform
  • Name it Bulleted.aspx
  • Add a DataSource Control and set it to a database table

  • Add a BulletedList control
  • Click the smart tag and Choose Data Source

  • Select the Data Source you added earlier
  • Select the field to display

Look at the code:

  • Right click the page and select View in Browser

You can change the appearance for each list item using the BulletStyle property

Circle Disc Square Numbered
LowerAlpha UpperAlpha LowerRoman UpperRoman
   
NotSet Custom Image    

In Custom Image you must set the BulletImageURL property

Here’s the code:

You can modify the function of each list item by changing the DisplayMode property

  • Hyperlink
    • Item is rendered as a link to another page
  • LinkButton
    • Item is rendered as a LinkButton control
  • Text
    • Item is rendered as plain text

  • Add another BulletedList control
  • Change the DisplayMode to Hyperlink

  • Click the smart tag and select Edit items

  • Click the add button

  • Add Google in the text property
  • Add http://www.google.com in the value property
  • Add two more, pick any website

Here is the code:


      ASP.Net 2.0 tutorials & training