ASP.NET Ajax, Update Panels and Response.Redirect
August 17, 2007
If your Response.Redirect doesn’t work under UpdatePanel’s callback, then you definitely missing ScriptModule in the web.config:
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
</httpModules>
And now it works like a charm
25 Comments Add your own
Leave a Comment
Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackback this post | Subscribe to the comments via RSS Feed
1.
idmt | January 16, 2008 at 12:35 pm
yeah! it’s great, it really works, what did i add??
2.
Anurag | January 21, 2008 at 7:34 pm
Thanks for solution
3.
Lauro Ramirez | February 22, 2008 at 12:35 am
thanks a lot…. i was looking for about 1 day,,,
4.
prince Varg | February 25, 2008 at 4:02 pm
Very good, thanks alot
5.
Randy | February 27, 2008 at 12:56 am
Thanks! I wasted about a week using the horrible ScriptManager hackish way of doing this. This worked like a charm.
6.
Adam | March 15, 2008 at 7:55 pm
Great work. If you have an IIS6 system.web section and an IIS7 system.webServer section, make sure it goes in both!
7.
Muhammad Awais | March 19, 2008 at 7:58 am
Nice and great work. it saves my time. gud work.
8.
nana | March 24, 2008 at 8:13 pm
thx alot ,u saved alot of time
9.
Ron H | April 15, 2008 at 11:37 pm
You are the MAN!!! I have trying to work around this for weeks.
Thank you
10.
WURMi | May 16, 2008 at 6:54 pm
VERY BIG THANX!!!!!!!!!!!
:D:D
11.
Nikolaj | June 23, 2008 at 3:10 pm
Thanks a lot!
12.
gramotei | June 23, 2008 at 3:16 pm
Welcome everyone
Nikolaj: Bud’ laska
13.
J | June 24, 2008 at 11:48 pm
I already had this in my web.config and redirects are still not working from AJAX.
14.
Lello | June 26, 2008 at 2:04 pm
MAGNIFICAT !!!!! A funsiuna propi bin !!!! THK,
))))
15.
Rupesh | August 6, 2008 at 9:00 am
Thanks , Boos.
16.
Horacio Velasco | September 11, 2008 at 5:10 pm
You´re the MAN !!!
17.
Ashish Karanje | September 30, 2008 at 12:16 pm
dude
18.
rabih kahaleh | October 10, 2008 at 3:28 pm
Thanks For Solution
19.
D | November 4, 2008 at 11:07 pm
Thx!
20.
Ali Aysan | November 5, 2008 at 4:36 pm
Thanks a lot,
I have spend so much time on this, I was receiving server error 12029, and appearantly this was the issue,
solved: thanks a lot
21.
Maurizio | November 17, 2008 at 1:51 am
spent half a day trying to figure this out and came across this post. THANK YOU. It works!
22.
Sancho | November 21, 2008 at 1:20 pm
Very Very thanks………Its working….
23. Visual Studio Internal Web Server to IIS 7 « A Wicked Blog | December 12, 2008 at 5:26 pm
[...] this – http://gramotei.wordpress.com/2007/08/17/aspnet-ajax-update-panels-and-responseredirect/ - but think this now out of date as redirect does [...]
24.
Eduardo | September 28, 2009 at 7:50 pm
thanks a lot.
It works fine.
status:solved
25.
Sabri | October 19, 2009 at 2:33 pm
Thanks a lot!!!