Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Can AJAX UpdateProgress fire on a Response.Redirect?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 20 Mar 2008 16:26 GMT
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
Steve C. Orr [MCSD, MVP, CSM, ASP Insider] - 20 Mar 2008 20:27 GMT
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.

Signature

I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider
http://SteveOrr.net
http://iPhonePlaza.net

> Hi.  Is it possible to display an UpdateProgress control when an event
> calling  Response.Redirect is executed?  I have a simple webform with an
[quoted text clipped - 19 lines]
> Thanks
> Mike

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.