<?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: ActionImage – ASP.NET MVC</title>
	<atom:link href="http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/feed/" rel="self" type="application/rss+xml" />
	<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/</link>
	<description>Illegitimi Non Carborundum</description>
	<lastBuildDate>Tue, 16 Aug 2011 09:03:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jacques</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-97</link>
		<dc:creator>Jacques</dc:creator>
		<pubDate>Thu, 22 Apr 2010 09:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-97</guid>
		<description>Do someone maybe have this code in VB?</description>
		<content:encoded><![CDATA[<p>Do someone maybe have this code in VB?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Attila</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-91</link>
		<dc:creator>Attila</dc:creator>
		<pubDate>Wed, 23 Dec 2009 15:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-91</guid>
		<description>Hi there,

we found this Extension useful, but we would like to recommend a change to the line 143:
            _link.InnerHtml = _image.ToString(TagRenderMode.SelfClosing);

Please note that you should change the return object to MvcHtmlString to ensure that the result is properly encoded.

Best Regards, Attila</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>we found this Extension useful, but we would like to recommend a change to the line 143:<br />
            _link.InnerHtml = _image.ToString(TagRenderMode.SelfClosing);</p>
<p>Please note that you should change the return object to MvcHtmlString to ensure that the result is properly encoded.</p>
<p>Best Regards, Attila</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-88</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 06 Dec 2009 02:28:25 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-88</guid>
		<description>Hi, Just download the MVC Toolkit,&lt;a href=&quot;http://asp.net/downloads/3.5-extensions/MVCToolkit.zip&quot; rel=&quot;nofollow&quot;&gt; http://asp.net/downloads/3.5-extensions/MVCToolkit.zip&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hi, Just download the MVC Toolkit,<a href="http://asp.net/downloads/3.5-extensions/MVCToolkit.zip" rel="nofollow"> </a><a href="http://asp.net/downloads/3.5-extensions/MVCToolkit.zip" rel="nofollow">http://asp.net/downloads/3.5-extensions/MVCToolkit.zip</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alpha</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-87</link>
		<dc:creator>alpha</dc:creator>
		<pubDate>Thu, 03 Dec 2009 19:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-87</guid>
		<description>ExpressionHelper is not found in System.Web.Mvc.... Do you know in which assembly it is referenced?</description>
		<content:encoded><![CDATA[<p>ExpressionHelper is not found in System.Web.Mvc&#8230;. Do you know in which assembly it is referenced?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry Jones</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-73</link>
		<dc:creator>Barry Jones</dc:creator>
		<pubDate>Sun, 06 Sep 2009 03:53:06 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-73</guid>
		<description>Thank you Tobi! It&#039;s hard to believe that this isn&#039;t part of the standard html helpers.</description>
		<content:encoded><![CDATA[<p>Thank you Tobi! It&#8217;s hard to believe that this isn&#8217;t part of the standard html helpers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ASP.NET MVC Archived Buzz, Page 1</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-72</link>
		<dc:creator>ASP.NET MVC Archived Buzz, Page 1</dc:creator>
		<pubDate>Thu, 03 Sep 2009 18:17:23 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-72</guid>
		<description>[...] to Vote[Del.icio.us] MVC ACtionImage (9/3/2009)Thursday, September 03, 2009 from [...]</description>
		<content:encoded><![CDATA[<p>[...] to Vote[Del.icio.us] MVC ACtionImage (9/3/2009)Thursday, September 03, 2009 from [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-29</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 02 Jul 2009 15:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-29</guid>
		<description>Thanks, I noticed this as well but the same issue exists in ActionList.</description>
		<content:encoded><![CDATA[<p>Thanks, I noticed this as well but the same issue exists in ActionList.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TonE</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-28</link>
		<dc:creator>TonE</dc:creator>
		<pubDate>Thu, 02 Jul 2009 15:00:25 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-28</guid>
		<description>I tried using the:

public static string ActionImage(this HtmlHelper htmlHelper, string imageUrl, string linkText, string actionName, object routeValues)

overload and noticed action parameters passed in routeValues were not being used in the generated url. 

Within this overload the call to:

return htmlHelper.ActionImage(imageUrl, linkText, actionName, null, new RouteValueDictionary(routeValues), new RouteValueDictionary());

results in the null being used as the routeValues parameter in the overload:

public static string ActionImage(this HtmlHelper htmlHelper, string imageUrl, string linkText, string actionName, RouteValueDictionary routeValues, IDictionary htmlanchorAttributes, IDictionary htmlImageAttributes)

To ensure the correct overload is called I changed the call to:

return htmlHelper.ActionImage(imageUrl, linkText, actionName, new RouteValueDictionary(routeValues), new RouteValueDictionary(), new RouteValueDictionary());

which works well. Thanks.</description>
		<content:encoded><![CDATA[<p>I tried using the:</p>
<p>public static string ActionImage(this HtmlHelper htmlHelper, string imageUrl, string linkText, string actionName, object routeValues)</p>
<p>overload and noticed action parameters passed in routeValues were not being used in the generated url. </p>
<p>Within this overload the call to:</p>
<p>return htmlHelper.ActionImage(imageUrl, linkText, actionName, null, new RouteValueDictionary(routeValues), new RouteValueDictionary());</p>
<p>results in the null being used as the routeValues parameter in the overload:</p>
<p>public static string ActionImage(this HtmlHelper htmlHelper, string imageUrl, string linkText, string actionName, RouteValueDictionary routeValues, IDictionary htmlanchorAttributes, IDictionary htmlImageAttributes)</p>
<p>To ensure the correct overload is called I changed the call to:</p>
<p>return htmlHelper.ActionImage(imageUrl, linkText, actionName, new RouteValueDictionary(routeValues), new RouteValueDictionary(), new RouteValueDictionary());</p>
<p>which works well. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/comment-page-1/#comment-14</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 12 Jun 2009 22:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://agilefutures.com/index.php/2009/06/actionimage-aspnet-mvc/#comment-14</guid>
		<description>Just what I was looking for! And on the same day I went searching!  Thanks.</description>
		<content:encoded><![CDATA[<p>Just what I was looking for! And on the same day I went searching!  Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

