PC Review


Reply
Thread Tools Rate Thread

display user please wait, while backend is processing

 
 
batham
Guest
Posts: n/a
 
      28th Feb 2005
Gurus,

I have a mainpage.aspx webform, in the page load of this page I am
displaying a text "Please wait connecting..." and then I want the user
to see this output on the WebForm, while I do some backend processing.
Once the backend processing is done I want to redirect the user to
another page e.g. "http://www.google.com".

I want to achieve the above without javascript, it should be pure
ASP.Net, is this possible ?

Can I show the user some message in a WebForm, while I do some backend
processing?

I tried
Response.write("Please wait connecting...");
Response.flush(); // This works.
// Do some backend process
Response.Redirect("http://www.google.com"); // This generates the error
"Cannot redirect after HTTP headers have been sent."

What am I missing?

Help is appreciated

Thanks,
Shailendra Batham

 
Reply With Quote
 
 
 
 
Wilco Bauwer
Guest
Posts: n/a
 
      28th Feb 2005
You could take a look at my progress bar. However, it uses XMLHTTP
(=client-side) to display the progress bar. You can use the synchronous
approach, which means that the back-end progress blocks the request
(although the progress bar starts doing its job, until its at 100%),
and then let you send the response (which can be a redirect to
google.com).

Both a synchronous and asynchronous scenario is demo'ed on my website.
Take a look at http://wilcoding.xs4all.nl/Wilco/View.aspx?NewsID=146
for a link to the demo/download (its free and source is included).

----
- Wilco Bauwer
Blog & Custom Controls @ http://wilcoding.xs4all.nl

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display wait message while processing kanya.rajani@gmail.com Microsoft ASP .NET 2 11th Mar 2008 10:54 AM
wait while processing krgatez Microsoft VB .NET 2 19th Apr 2005 07:22 PM
display user please wait, while backend is processing batham Microsoft C# .NET 1 28th Feb 2005 07:50 PM
display user please wait, while backend is processing batham Microsoft ASP .NET 1 28th Feb 2005 07:50 PM
Backend Processing .NET Vs. SQL Venkatesh Microsoft Dot NET 3 16th Feb 2004 10:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 PM.