<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>No, you cannot call Server.Transfer on an ASP.NET AJAX enabled page</title><link>http://msmvps.com/blogs/luisabreu/archive/2007/10/10/no-you-cannot-call-server-transfer-on-an-asp-net-ajax-enabled-page.aspx</link><description>Even though ASP.NET AJAX has been here for some time, this question still pops up on the forums. So I thought I should put a post here and redirect future questions on the subject to it. Well, to be precise, what you cannot do is call Server.Transfer</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: No, you cannot call Server.Transfer on an ASP.NET AJAX enabled page</title><link>http://msmvps.com/blogs/luisabreu/archive/2007/10/10/no-you-cannot-call-server-transfer-on-an-asp-net-ajax-enabled-page.aspx#1629304</link><pubDate>Fri, 30 May 2008 17:23:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1629304</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Thanks! &amp;nbsp;I suspected this, but wasn&amp;#39;t sure until I found this post.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1629304" width="1" height="1"&gt;</description></item><item><title>re: No, you cannot call Server.Transfer on an ASP.NET AJAX enabled page</title><link>http://msmvps.com/blogs/luisabreu/archive/2007/10/10/no-you-cannot-call-server-transfer-on-an-asp-net-ajax-enabled-page.aspx#1623574</link><pubDate>Sat, 17 May 2008 00:30:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1623574</guid><dc:creator>Perry</dc:creator><description>&lt;p&gt;I am doing this in the Global.asx.vb:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Server.Transfer(&amp;quot;Error.aspx&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Sub&lt;/p&gt;
&lt;p&gt;This works for non ajax errors but it fails for my ajax pages. I need to do a transfer rather than a redirect because I need the context error from the CLR which can not be passed through a querystring that the redirect would need. The other option would be to conditionaly opt out of the Server.Transfer for partial post backs in the global.asx. Anyone know how to tell if we are in a partial post back in the global.asx? There is no page context or script manager there.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1623574" width="1" height="1"&gt;</description></item><item><title>re: No, you cannot call Server.Transfer on an ASP.NET AJAX enabled page</title><link>http://msmvps.com/blogs/luisabreu/archive/2007/10/10/no-you-cannot-call-server-transfer-on-an-asp-net-ajax-enabled-page.aspx#1574411</link><pubDate>Sun, 06 Apr 2008 06:48:43 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1574411</guid><dc:creator>Anz</dc:creator><description>&lt;p&gt;We can use the cross page posting to make similar functionality of Server.Transfer &lt;/p&gt;
&lt;p&gt;here is an interesting post&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://forums.asp.net/p/1023949/1391157.aspx"&gt;forums.asp.net/.../1391157.aspx&lt;/a&gt;&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1574411" width="1" height="1"&gt;</description></item><item><title>re: No, you cannot call Server.Transfer on an ASP.NET AJAX enabled page</title><link>http://msmvps.com/blogs/luisabreu/archive/2007/10/10/no-you-cannot-call-server-transfer-on-an-asp-net-ajax-enabled-page.aspx#1541194</link><pubDate>Wed, 12 Mar 2008 18:42:19 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1541194</guid><dc:creator>Bruno Kenj</dc:creator><description>&lt;p&gt;Luis, tudo bem? Eis a solu&amp;#231;&amp;#227;o: &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.brunokenj.net/blog/index.php/2007/04/09/utilizando-servertransfer-e-aspnet-ajax-10/"&gt;www.brunokenj.net/.../utilizando-servertransfer-e-aspnet-ajax-10&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;abra&amp;#231;os!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1541194" width="1" height="1"&gt;</description></item></channel></rss>