Intermittent "Page Loading" Screens

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: Intermittent "Page Loading" Screens

    It sounds like you should consider using multithreading.
    By running the long process on a separate thread, you free the browser up to
    do other things, such as display the current status of the task.
    That way the browser will respond immediately with a new page and can
    entertain the user while they wait with an animation or status bar.
    You can have the browser refresh the status by putting an HTML line like
    this in your code:
    <META HTTP-EQUIV="refresh" CONTENT="3">
    That will cause the browser to refresh every 3 seconds (and you can check
    the status of the operation each time and redirect to a "done" page when
    appropriate.)
    Here's more details:
    [url]http://www.fawcette.com/vsm/2002_11/magazine/features/chester/[/url]
    [url]http://www.dotnetjunkies.com/tutorials.aspx?tutorialid=547[/url]

    Another option is that you could call a web service from your client side
    JScript. Use the web service behavior for this. (WebService.htc) This
    technique works with IE only.
    Here's more details:
    [url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/behaviors/overview.asp[/url]

    [url]http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/downloads/samples/internet/behaviors/library/webservice/default.asp[/url]

    --
    I hope this helps,
    Steve C. Orr, MCSD
    [url]http://Steve.Orr.net[/url]


    "Max" <mquagliotto@surgesoft.com> wrote in message
    news:00c601c356c4$8410d420$a501280a@phx.gbl...
    > What is the best way to make "Page Loading" webforms so
    > that the user has something to see when the server is
    > currently busy processing a page?
    >
    > Help please :)
    >
    > Max

    Steve C. Orr, MCSD Guest

  2. Similar Questions and Discussions

    1. Please Wait. Loading...."How to display this on DataGrid while it is getting populated, still not removing all other controls from the web page?"
      I would like to display a little pop-up message, or something when the user of Web Page submits data to be populated on DataGrid and not to remove...
    2. Shadow Copy "Previous Versions" tab is intermittent
      Most likely the DFS folder is replicated to several machines. Some machines might have shadow copy enabled, others no. This might explain why you...
    3. "Continue Loading Content Of Page" Popup
      I had to find this out myself, therefore i will share it with you all. Search for file called IEXPLORE.EXE.Local in normal way using window's file...
    4. Intermittent "An unexpected error occurred on a receive"
      Hi, A Windows client connecting through a Proxy Server to a Web Service is experiencing intermittent WebException errors of the form: "The...
    5. Intermittent "Underlying Connection Was Closed"
      Hi, A Windows client connecting through a Proxy Server to a Web Service is experiencing intermittent WebException errors of the form: "The...
  3. #2

    Default Re: Intermittent "Page Loading" Screens

    If you just want to display a simple message like "Please wait
    loading...it may take few minutes..", you can do that using layers.

    Create a DIV tag for the complete page size and have an animated image
    in it to show that the page is loading. On the page load hide this
    layer and on unload of the page bring it to the top(z-index) and show
    it. If you use smart navigation, this page will be shown until your
    long reaquest gets completed and displayed in the browser.

    I did this in one of my projects and my queries may run longer than
    six minutes. It is working fine and is in production.

    Thanks
    Ram
    Ram Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139