.Net 2.0 I'm having trouble refreshing a webform after an event has been raised.
On the aspx page I have async=true
I then have a Button and a Label in a form with method set to post.
I have a class that has been declared in the aspx.vb
Protected WithEvents clsDTS as new clsDTS()
now, when the button on the form is clicked, the button_click event is run. This calls a clsDTS.Main().
Once in main events get raised and when I step the code, the event in the aspx.vb
file appears to get raised. Within the event I'm attempting to set the labels text property and in debug I can see the value getting set correctly, however the screen (webform) never gets refreshed and so the label never gets displayed. I think the problem is because I'm still in the button_click event.
What do I need to do to ensure the label is visibly updated to the user?