Add multiple controls to panel in webforms
<p>I would like to be able to add multiple label controls to a panel and display them on an onlick event. The code I have does what I want it to the first time, then the label is simple replaced with a new label on the second onlick event and so on. </p>

<p>Here is what I have so far:</p>

<pre><code> private void createTaskLabel(Guid GoalID, string Goal)
 { 
     Label taskLabel = new Label();
     taskLabel.ID = GoalID.ToString();
     taskLabel.Text = Goal.ToString();
     TaskPanel.Controls.Add(taskLabel);
 }
</code></pre>

<p>So, for instance, this creates a new label with a uniqueID (handled elsewhere) and places it within the panel and displays it. When the onlick fires again, the same label is simply replaced instead of a new one appearing below it.</p>
