Dynamic Elements not working ASP c#
<p>I am trying to add dynamic HTML elements from the code behind file on page load`</p>

<p><code>
protected void Page_Load(object sender, EventArgs e)
    {</p>

<pre><code>        for (int i = 98; i &lt; 123; i++)
        {
            LinkButton btn = new LinkButton();

            Char temp = Convert.ToChar(i);

            btn.Attributes.Add("onclick", "clicked");
            btn.Attributes.Add("ID", "'" + temp + "'");
            btn.Attributes.Add("runat", "server");
            btn.Text = temp.ToString().ToUpper();
            letter.Controls.Add(btn); //Letter is an id of div element

        }
    }
</code></pre>

<p></code> 
The onclick event doesnt fire</p>
