display wait message in webform

  • Thread starter Thread starter deepblue
  • Start date Start date
D

deepblue

Hi,
How to display a "Please wait" message in a webform when
the webform is doing processing? The processing is
initiated by user clicking a button.
Thanks,
Deepblue
 
Place the image in a style tag and set the style tag's visibility property
to true at the beginning of the processing and false at the end.
 
Thanks for the response. I have seen some examples
hiding/showing images in javascript, the problem is I am
using vb.net, server control button, is there a way to
show/hide image from code-behind(or a combination of
script/code-behind)? And to show it immediately after
user clicked the button.
Thanks,
Deeplblue
 
A Web Forms Image control has a visibility property, just set it at the
appropriate times:

Sub Button_Click()
MyWaitImage.Visibility = true

'Do what needs to be done

MyWaitImage.Visibility = False
End Sub
 
but does the page return to the browser while the processing is going on
or does the user simply see a blank page until processing is done?
 
Back
Top