Change Label Text during long Code Behind Process
<p>I Have <code>Label</code> And <code>Button</code> In One <code>UpdatePanel</code> ,Now I call Long Process with <code>ForEach</code> Loop <code>On Button Click</code> What I want is to Update Text Of <code>Label</code> after Completion Of Loop.Is there any Easy Way to Change Text Of <code>Label</code> At runtime.I heard Something that we can do this with <code>Iframe</code> But I dont have any idea about that.</p>

<p><strong>CODE</strong></p>

<p><strong>aspx</strong></p>

<pre><code>    &lt;asp:UpdatePanel ID="UpdatePanelUpdate" runat="server" UpdateMode="Conditional"&gt;     &lt;ContentTemplate&gt;
    &lt;div&gt;
    &lt;asp:Button ID="ButtonUpdate" runat="server" Text="Update" 
        onclick="ButtonUpdate_Click" /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
   &lt;asp:Label ID="LabelUpdateCount" runat="server" Text=""&gt;&lt;/asp:Label&gt;
    &lt; /div&gt;
   &lt;/ContentTemplate&gt;

   &lt;/asp:UpdatePanel&gt;
</code></pre>

<p><strong>aspx.cs</strong></p>

<pre><code>    protected void ButtonUpdate_Click(object sender, EventArgs e)
{
     int count = 0;
    foreach()
    {
        do my stuff();
        count = count + 1;
        LabelUpdateCount.Text = count.ToString();


    }
}
</code></pre>

<p>SO,I want to show change of label at runtime.....</p>
