How do I programmatically assign a on click event to a bullet list which was programmatically created?
<p>I tried to programtically write a method and assign it as a method called upon a onclick event, but something isn't right here. The method isn't called.</p>

<p><code>BulletedList bulletList = new BulletedList();</code></p>

<p>I added items into the bullet list using <code>bulletList.Items.Add(...);</code></p>

<p>I tried to programtically assign a bulletList_Click method with <code>bulletList.Click += new              BulletedListEventHandler(bulletList_Click);</code></p>

<p>This is the method which is supposed to be triggered off</p>

<blockquote>
  <p>void bulletList_Click(object sender, BulletedListEventArgs e)
  {
     //codes here
  }</p>
</blockquote>
