<?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>Komentáře k: ASP.NET MVC: Passing data when redirecting</title>
	<atom:link href="http://www.augi.cz/programovani/aspnet-mvc-passing-data-when-redirecting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.augi.cz/programovani/aspnet-mvc-passing-data-when-redirecting/</link>
	<description>Osobní stránky jednoho podivného programátora...</description>
	<lastBuildDate>Fri, 09 Jul 2010 16:36:41 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Od: Ali</title>
		<link>http://www.augi.cz/programovani/aspnet-mvc-passing-data-when-redirecting/comment-page-1/#comment-1814</link>
		<dc:creator>Ali</dc:creator>
		<pubDate>Tue, 23 Dec 2008 06:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.augi.cz/?p=360#comment-1814</guid>
		<description>Can we pass objects rather than strings in RedirectToAction method.
something like this: 

RedirectToAction(&quot;actionSample&quot;, new {Controller=&quot;controllerName&quot;, data=MyNewObject });

so that i can retrieve data from &quot;MyNewObject&quot; in &quot;actionSample&quot;  action as following: 

public ActionResults actionSample(MyClass data)
{
  // data should now contains all values of &quot;MyNewObject&quot;

}</description>
		<content:encoded><![CDATA[<p>Can we pass objects rather than strings in RedirectToAction method.<br />
something like this: </p>
<p>RedirectToAction(&#8221;actionSample&#8221;, new {Controller=&#8221;controllerName&#8221;, data=MyNewObject });</p>
<p>so that i can retrieve data from &#8220;MyNewObject&#8221; in &#8220;actionSample&#8221;  action as following: </p>
<p>public ActionResults actionSample(MyClass data)<br />
{<br />
  // data should now contains all values of &#8220;MyNewObject&#8221;</p>
<p>}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
