473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Can AJAX UpdateProgress fire on a Response.Redirect?

Hi. Is it possible to display an UpdateProgress control when an event
calling Response.Redirect is executed? I have a simple webform with an
ImageButton and an UpdateProgress control. My ImageButton's click event
contains the following code:

Response.Redirect("ProductCatalog.aspx")

The ProductCatalog.aspx page may take several seconds to load, so I wish to
add an UpdateProgress to show the user "Loading...". I've added the
appropriate UpdateProgress control. The problem is that the UpdateProgress
displays initially when the click's postback occurss, but then stops while
the Response.Redirect is executing. I need the UpdateProgress to remain
active & on the screen whilst the Response.Redirect code is being executed.
Is this possible? Or is it impossible because a post-back is not occurring?

Hope that makes sense

Thanks
Mike
Mar 20 '08 #1
1 3930
It's pretty much impossible in IE when a standard postback is occurring.
This is one of the main reasons AJAX was created, so you don't have to do
standard clunky postbacks.
Perhaps you'd be better off refactoring this into an AJAX callback.

--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net
"Mike" <Mi**@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
Hi. Is it possible to display an UpdateProgress control when an event
calling Response.Redirect is executed? I have a simple webform with an
ImageButton and an UpdateProgress control. My ImageButton's click event
contains the following code:

Response.Redirect("ProductCatalog.aspx")

The ProductCatalog.aspx page may take several seconds to load, so I wish
to
add an UpdateProgress to show the user "Loading...". I've added the
appropriate UpdateProgress control. The problem is that the
UpdateProgress
displays initially when the click's postback occurss, but then stops while
the Response.Redirect is executing. I need the UpdateProgress to remain
active & on the screen whilst the Response.Redirect code is being
executed.
Is this possible? Or is it impossible because a post-back is not
occurring?

Hope that makes sense

Thanks
Mike
Mar 20 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Anthony Williams | last post by:
Hi gang, This one looks like a bug :o( As you may or may not know, setting session management in web.config to use cookieless sessions causes the ASP.NET runtime to munge a session ID into...
3
by: michael_vanommeren | last post by:
I have two web applications that I am working with and I am trying to do a Response.Redirect from one to the other. They are setup as separate web applications on the same IIS server. If I go...
1
by: MikeM | last post by:
We are getting a behavior on a Response.Redirect("SomeUrl", True) that I'm hoping someone can explain. This all refers to the code snip at the end. By the way, this is all VB ASP.NET v1.0 code. ...
10
by: Johnny Fugazzi | last post by:
I have a couple of pages that have started showing an odd problem. When the code calls Response.Redirect("file.aspx"), nothing happens. The page goes white, and the old URL and querystring are...
1
by: Eric | last post by:
I have the following situation: I was getting intermittent errors using Reponse.Redirct("url", true) and was trying to catch the ThreadAbortException, but it was not staying caught and was showing...
2
by: Charles A. Lackman | last post by:
Hello, I have an ASPX page that is storing data into a session Variable: Session("Name") = "Chuck" When the User clicks "Next" on the page, it naviages to "Details.aspx", Details.aspx has two...
6
by: dwclark | last post by:
I am having an issue when I trigger a Response.Redirect, the Page_Load fires on the page where the Response.Redirect was called. From what I've read, this should not happen and the browser should...
1
by: kmithu | last post by:
I am working on Asp.Net2.0 on which i have used ajax. I am well aware that Response.Write() is not supported by AJAX but what about Response.Redirect()? The error which i am getting is written...
9
by: RN1 | last post by:
When a server encounters the line Response.Redirect("abcd.asp") in a ASP script, the server tells the browser that it has to be redirected to another page (which is abcd.asp, in this case)....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.