Results 1 to 4 of 4

Thread: Please wait message

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member ARPRINCE's Avatar
    Join Date
    Mar 2003
    Location
    Pinoy in NJ
    Posts
    381

    Please wait message

    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:
    1. Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    2.         Response.Write("<DIV><TD><B>Please wait...</B></TD></DIV>")
    3.         Response.Write(Space(256))
    4.         Response.Flush()
    5.         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
    Attached Images Attached Images   

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width