Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Making a page wait. (http://www.velocityreviews.com/forums/t79286-making-a-page-wait.html)

Tim Marsden 05-28-2004 09:38 AM

Making a page wait.
 
Hi,

I would like to be able to create a page which accepts user input.
When to user press Submit, a long task is performed, and the results
displayed on a new page.

When the user presses Submit, can I put a "Waiting...." page out. The page
requests some information from another source, when it gets the information
back it displays it on the page.

Regards
Tim



Patrice 05-28-2004 11:33 AM

Re: Making a page wait.
 
My personal preference is :
- on the submit event (or even on the unload event), to hide the form and
show a section that contains the wait message (mainly because it's easy to
enable ore disable this).

Other options I saw are :
- use an intermediate page (but you have to change the control flow)
- use Response.Flush (but less easy AFAIK with the ASP.NET programming
model) if you want still a valid HTML code
- other ?

Patrice


"Tim Marsden" <TM@UK.COM> a écrit dans le message de
news:uIYP%23dJREHA.904@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I would like to be able to create a page which accepts user input.
> When to user press Submit, a long task is performed, and the results
> displayed on a new page.
>
> When the user presses Submit, can I put a "Waiting...." page out. The page
> requests some information from another source, when it gets the

information
> back it displays it on the page.
>
> Regards
> Tim
>
>




Steven Cheng[MSFT] 05-31-2004 03:35 AM

Re: Making a page wait.
 
Hi Tim,

In addition to Patrice's suggestion, here are some tech articles disucssing
on display client waiting info when performing a long run task at the
serverside.

#How to show progress in the client browser for a long-running ASP.NET page
http://support.microsoft.com/?id=837375

#DESIGN PATTERNS: Asynchronous Wait State Pattern in ASP.NET
http://msdn.microsoft.com/msdnmag/is...s/default.aspx
http://www.aspnetpro.com/NewsletterA..._l/asp200308bm
_l.asp

Also, you can search some former threads in this group, there're also many
former ones disucssing on the same problem. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx


Steven Cheng[MSFT] 06-03-2004 12:18 PM

Re: Making a page wait.
 
Hi Tim,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you have anything unclear or if
there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx



All times are GMT. The time now is 08:24 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


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