linkbutton click event
<p>I have dynamically added a linkbutton to the page. But the click event is not working. What could be the problem? Thanks for your help. I am adding a linkbutton on button click event.
Here is my code.</p>

<pre><code>protected void Button1_Click(object sender, EventArgs e)
{
    LinkButton lb = new LinkButton(); 
    lb.Text = "dsadsa";
    lb.ID = "22";
    lb.CommandArgument = "22"; 
    lb.CommandName = "22"; 
    lb.Command += new CommandEventHandler(lb1_Command); 
    PlaceHolder1.Controls.Add(lb);
}
protected void lb1_Command(object sender, CommandEventArgs e)
{
    Label1.Text = e.CommandName; 
}
</code></pre>
