Showing posts with label redirect. Show all posts
Showing posts with label redirect. Show all posts

Monday, March 26, 2012

UpdatePanel + Scriptmanger and Respone.Redirect to (external time consuming ressource)

Hello,

As the title of my post suggest, i use Response.Redirect(http://..../download.ahsx) on submit of my form;

This works fine. The file is streamed to the users browser and my update panel displays the " loading data gif".

The problem is that when the external page returns, we are not notified of this and we keep displaying the "loading data gif".

Is there a client side event i should process to refresh the starting page?

Thanks

/kadji

Is Ajax of any help in such of situation at all?

Thanks

/Kadji


Hi,

I'm afraid AJAX cann't do this.

As you said, when the external page returns, the starting page is not notified keep displaying the "loading data gif".

I suggest you use a timer to hide the "loading data gif" manually.

Best Regards


You are correct.

Thanks

/Kadji


But then what would i be looking for in my timer tick?

My web application still has no idea of what is happening in my remote resource.

Any suggestion?

/Kadji


Sorry,I mean javascript timer,not AJAX timer.

More information,seehttp://www.elated.com/articles/javascript-timers-with-settimeout-and-setinterval/

Best Regards


Hi Jin-Yu Yin,

Could you explain how a client side timer would let me know that my http handler has finished running?

Thanks

/Kadji

Wednesday, March 21, 2012

UpdatePanel and Redirect Bug

is there a fix for this, or has this been fixed for the next update?

hello.

if you're talking about the removal of all headers, then the answer is that it still hasn't been fixed.


yes thats what i mean, it clears all the info in the HttpContext.Current.User....

any ETA on this, we really need this fixed, its a show stopper for us