Re: How do draw new window immideately?
From: Michael Pearson (michaelp_extrajunktoremove_at_televox.com)
Date: 03/04/04
- Next message: Steven Cheng[MSFT]: "RE: How to specify virtual paths in C#?"
- Previous message: Kirk Graves: "Re: Loop Through a recordset"
- In reply to: Olav Tollefsen: "How do draw new window immideately?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 3 Mar 2004 19:09:40 -0600
What you can do is output the "loading" in a <DIV> or <Span> tag, and then
do response.flush.
Then after the flush start your long running process. After that process is
complete write out some javascript that will hide that <DIV> tag
(style.display = 'none')
Michael
"Olav Tollefsen" <x@y.com> wrote in message
news:OcUkhAYAEHA.640@TK2MSFTNGP09.phx.gbl...
> I have a web form which does some time consuming operation (~ 10 seconds)
in
> Page_Load. This results in a stale window to the user until Page_Load is
> finished rendering the page.
>
> Is it possible to get the window to be drawn at once to the user, maybe
> displaying "Loading..." and then redraw the window again when the
processing
> is complete?
>
> Olav
>
>
- Next message: Steven Cheng[MSFT]: "RE: How to specify virtual paths in C#?"
- Previous message: Kirk Graves: "Re: Loop Through a recordset"
- In reply to: Olav Tollefsen: "How do draw new window immideately?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|