ASP Net Controls ASP.Net Tutorial

<%@ Page Language="C#" %>

    protected void BulletedList1_Click(object sender,
       System.Web.UI.WebControls.BulletedListEventArgs e)
    {    
         Label1.Text = "The index of item you selected: " + e.Index +
            "
The value of the item selected: " + 
            BulletedList1.Items[e.Index].Text;
    }



    BulletedList Server Control


    
                 OnClick="BulletedList1_Click" DisplayMode="LinkButton">
            United States
            United Kingdom
            Finland