I have a label that I would like to update with the current operation being done in a button's click event. Sample code:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
'Process 1....
lblProcess.Text = "Now processing process1"
'Process 2....
lblProcess.Text = "Now processing process2"
'Process 3....
lblProcess.Text = "Now processing process3"
End Sub
I have tried placing the label inside an update panel but it doesn't work. It only displays the last process. I have also tried calling a Javascript function to update the label.text but still no go.
What would be the best way to achieve this? Please help..
Thanks in advance.