<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: jQuery for ASP.NET MVC preview 2</title>
	<atom:link href="http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/</link>
	<description>What&#039;s practical is logical</description>
	<lastBuildDate>Thu, 24 Jun 2010 14:10:10 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: jQuery&#8230; some links &#124; Code-Inside Blog International</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27431</link>
		<dc:creator>jQuery&#8230; some links &#124; Code-Inside Blog International</dc:creator>
		<pubDate>Mon, 05 May 2008 18:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27431</guid>
		<description>[...] jQuery for ASP.NET MVC preview 2 [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery for ASP.NET MVC preview 2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jQuery&#8230; ein paar Links &#124; Code-Inside Blog</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27430</link>
		<dc:creator>jQuery&#8230; ein paar Links &#124; Code-Inside Blog</dc:creator>
		<pubDate>Mon, 05 May 2008 18:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27430</guid>
		<description>[...] jQuery for ASP.NET MVC preview 2 [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery for ASP.NET MVC preview 2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mateo</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27106</link>
		<dc:creator>mateo</dc:creator>
		<pubDate>Fri, 04 Apr 2008 16:58:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27106</guid>
		<description>Hi Chris,

great work this library is very of use. 
I&#039;m having a problem with ajax query when using the Ajax.ActionLink &quot;XMLHttpRequest&quot;.Equals(request.Headers[&quot;X-Requested-With&quot;]
is never true cause i dont have the X-Requested-With passed in the header?

Any idea why ?
Thanks</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>great work this library is very of use.<br />
I&#8217;m having a problem with ajax query when using the Ajax.ActionLink &#8220;XMLHttpRequest&#8221;.Equals(request.Headers["X-Requested-With"]<br />
is never true cause i dont have the X-Requested-With passed in the header?</p>
<p>Any idea why ?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris van de Steeg</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27049</link>
		<dc:creator>Chris van de Steeg</dc:creator>
		<pubDate>Mon, 31 Mar 2008 19:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27049</guid>
		<description>@Jake: You could open an issue at the google code project: http://code.google.com/p/jquerymvc/issues/list and we could discuss how to solve it there</description>
		<content:encoded><![CDATA[<p>@Jake: You could open an issue at the google code project: <a href="http://code.google.com/p/jquerymvc/issues/list" rel="nofollow">http://code.google.com/p/jquerymvc/issues/list</a> and we could discuss how to solve it there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Scott</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27048</link>
		<dc:creator>Jake Scott</dc:creator>
		<pubDate>Mon, 31 Mar 2008 19:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27048</guid>
		<description>Hi Chris, is there anywhere I can post this conversation so that people can have a discussion and so that we dont spam your blog?

http://blog.pengoworks.com/index.cfm/2007/10/9/Expiring-Session-via-AJAX-using-HTTP-Response-Headers
has an example where he uses custom http response headers which indicate a session timeout. We could make this more generic and call it redirectTo?  In the callback you can use getResponseHeader to see if this custom header exists and if it does cause the client to change its location.

Also would this need to use the history plugin to change location?

Obviously this is only required if the request is actually from ajax and if so we could store the redirectTo value in TempData and let the ServiceViewEngine add the custom http response header.

Well thats a quick and nasty way :) what is everyones thoughts?</description>
		<content:encoded><![CDATA[<p>Hi Chris, is there anywhere I can post this conversation so that people can have a discussion and so that we dont spam your blog?</p>
<p><a href="http://blog.pengoworks.com/index.cfm/2007/10/9/Expiring-Session-via-AJAX-using-HTTP-Response-Headers" rel="nofollow">http://blog.pengoworks.com/index.cfm/2007/10/9/Expiring-Session-via-AJAX-using-HTTP-Response-Headers</a><br />
has an example where he uses custom http response headers which indicate a session timeout. We could make this more generic and call it redirectTo?  In the callback you can use getResponseHeader to see if this custom header exists and if it does cause the client to change its location.</p>
<p>Also would this need to use the history plugin to change location?</p>
<p>Obviously this is only required if the request is actually from ajax and if so we could store the redirectTo value in TempData and let the ServiceViewEngine add the custom http response header.</p>
<p>Well thats a quick and nasty way <img src='http://www.chrisvandesteeg.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  what is everyones thoughts?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: W&#246;chentliche Rundablage: WPF, Silverlight 2, ASP.NET MVC, .NET 3.5&#8230; &#124; Code-Inside Blog</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27046</link>
		<dc:creator>W&#246;chentliche Rundablage: WPF, Silverlight 2, ASP.NET MVC, .NET 3.5&#8230; &#124; Code-Inside Blog</dc:creator>
		<pubDate>Mon, 31 Mar 2008 19:02:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27046</guid>
		<description>[...] jQuery for ASP.NET MVC preview 2 [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery for ASP.NET MVC preview 2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris van de Steeg</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27038</link>
		<dc:creator>Chris van de Steeg</dc:creator>
		<pubDate>Mon, 31 Mar 2008 08:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27038</guid>
		<description>@Jake Scott: I think this can be solved using TempData on the controller. The fact that the request is json or ajax should be stored in the tempdata, and this should be considered by the ServiceViewEngine. I&#039;ll look into this soon, but if you find a solution sooner, please let me know</description>
		<content:encoded><![CDATA[<p>@Jake Scott: I think this can be solved using TempData on the controller. The fact that the request is json or ajax should be stored in the tempdata, and this should be considered by the ServiceViewEngine. I&#8217;ll look into this soon, but if you find a solution sooner, please let me know</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake Scott</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-27037</link>
		<dc:creator>Jake Scott</dc:creator>
		<pubDate>Mon, 31 Mar 2008 07:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-27037</guid>
		<description>Hi Chris, this project rocks! 

I&#039;ve run into a problem when the server needs to perform a response redirect. 

http://www.nikhilk.net/Ajax-MVC.aspx (has an explanation of the problem)

The redirect is being handled internally by xmlhttprequest, and the ajax script on the page is getting the content of the redirected to page.

You will need to send back a custom 302 response (i.e, not an actual 302, but a regular 200 response, whose response includes the fact that you need to redirect, and the redirect location).

We need to handle the completed event of the ajax form to see if its this custom response, and instead of letting the update happen, call window.navigate with the new location.


What do you think? Any cool ways to solve this will  be much appreciated!</description>
		<content:encoded><![CDATA[<p>Hi Chris, this project rocks! </p>
<p>I&#8217;ve run into a problem when the server needs to perform a response redirect. </p>
<p><a href="http://www.nikhilk.net/Ajax-MVC.aspx" rel="nofollow">http://www.nikhilk.net/Ajax-MVC.aspx</a> (has an explanation of the problem)</p>
<p>The redirect is being handled internally by xmlhttprequest, and the ajax script on the page is getting the content of the redirected to page.</p>
<p>You will need to send back a custom 302 response (i.e, not an actual 302, but a regular 200 response, whose response includes the fact that you need to redirect, and the redirect location).</p>
<p>We need to handle the completed event of the ajax form to see if its this custom response, and instead of letting the update happen, call window.navigate with the new location.</p>
<p>What do you think? Any cool ways to solve this will  be much appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #61</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-26972</link>
		<dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #61</dc:creator>
		<pubDate>Fri, 28 Mar 2008 08:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-26972</guid>
		<description>[...] jQuery for ASP.NET MVC preview 2 - Chris van de Steeg has released an updated release of his jQueryMvc project to support the latest preview release - also includes a switch to using the Unity IOC framework [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery for ASP.NET MVC preview 2 &#8211; Chris van de Steeg has released an updated release of his jQueryMvc project to support the latest preview release &#8211; also includes a switch to using the Unity IOC framework [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Interesting Finds: 2008.03.28 - Yuanjian</title>
		<link>http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/comment-page-1/#comment-26969</link>
		<dc:creator>Interesting Finds: 2008.03.28 - Yuanjian</dc:creator>
		<pubDate>Fri, 28 Mar 2008 02:05:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.chrisvandesteeg.nl/2008/03/26/jquery-for-aspnet-mvc-preview-2/#comment-26969</guid>
		<description>[...] jQuery for ASP.NET MVC preview 2 [...]</description>
		<content:encoded><![CDATA[<p>[...] jQuery for ASP.NET MVC preview 2 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
