My page has a button to print reports. When clicked, a new window is displayed with the reports. Since the report takes time to render, I wanted to display a "Please wait" message first.
I placed this on the page load and the "Please wait message" is displayed prior to the report being shown (see Page1 attachment).
VB Code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Response.Write("<DIV><TD><B>Please wait...</B></TD></DIV>") Response.Write(Space(256)) Response.Flush() Response.Flush()
However, when the report is shown, the "Please wait" message is still visible (see Page2 attachment). How do I remove this when page is done loading? How do I replace the Please wait message with an image instead?
Thanks




Reply With Quote