<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Creating Custom HTML Helpers</title><link>http://www.asp.net</link><pubDate>Mon, 13 May 2013 06:41:09 GMT</pubDate><generator>umbraco</generator><description>Comments for Creating Custom HTML Helpers</description><language>en</language><atom:link href="http://www.asp.net/rss/comments/27570" rel="self" type="application/rss+xml" /><item><title>Comment Posted by aniketmalvankar</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Wed, 23 Jun 2010 13:31:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009198</guid><description><![CDATA[ <p>how can i set focus for textbox?</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/aniketmalvankar.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Nargiz Gasimova</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Thu, 19 Aug 2010 07:32:18 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009908</guid><description><![CDATA[ <p>aniketmalvankar, you can set focus() using javascript. Just wait for DOM to be loaded </p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Nargiz%20Gasimova.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sudipta k paik</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Mon, 23 Aug 2010 02:35:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-000000009945</guid><description><![CDATA[ <p>&lt;% using (Html.BeginForm())</p><p>          { %&gt;</p><p>               &lt;%= Html.Label(&quot;firstName&quot;, &quot;First Name:&quot;) %&gt;    </p><p>               &lt;br /&gt;</p><p>               &lt;%= Html.TextBox(&quot;firstName&quot;)%&gt;</p><p>               &lt;br /&gt;&lt;br /&gt;</p><p>               &lt;%= Html.Label(&quot;lastName&quot;, &quot;Last Name:&quot;) %&gt;    </p><p>               &lt;br /&gt;</p><p>               &lt;%= Html.TextBox(&quot;lastName&quot;)%&gt;</p><p></p><p>               &lt;br /&gt;&lt;br /&gt;</p><p>               &lt;input type=&quot;submit&quot; value=&quot;Register&quot; /&gt;</p><p>          &lt;% } %&gt;</p><p></p><p></p><p>Here some problem may be.</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sudipta%20k%20paik.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by hajan</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Wed, 06 Oct 2010 14:02:04 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010514</guid><description><![CDATA[ <p>Well explained!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/hajan.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Gimzani</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Fri, 08 Oct 2010 09:52:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000010554</guid><description><![CDATA[ <p>I&#39;m wondering about unit testing your HTML Helpers.  I have an MVC Application that I&#39;m building a helper for so that I can render Flash Objects.</p><p></p><p>But, when I extend the method, I have nothing that I can pass back as the first parameter - (which is of type HtmlHelper).</p><p></p><p>I&#39;ve worked around it by overloading the static method in the custom  helper class, but that is an inelegant solution.  So, how would you unit test an extended html helper?</p><p></p><p>(And don&#39;t say, &quot;Just use JavaScript&quot; - that&#39;s a cheap answer.) :)</p><p></p><p>G</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/Gimzani.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pradip.bobhate</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Wed, 01 Dec 2010 13:44:26 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011105</guid><description><![CDATA[ <p>I liked it...</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/pradip.bobhate.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by argyle_chen</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Thu, 02 Dec 2010 17:25:27 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011117</guid><description><![CDATA[ <p>Cool. This really help. </p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/argyle_chen.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by torontodeveloper1</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Mon, 13 Dec 2010 15:47:07 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011189</guid><description><![CDATA[ <p>How do I write the import statement in cshtml file in Mvc3 razor syntax. (like &lt;%@ Import Namespace=&quot;MvcApplication1.Helpers&quot; %&gt; in MVC2)</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/torontodeveloper1.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by torontodeveloper1</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Tue, 14 Dec 2010 15:25:44 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011194</guid><description><![CDATA[ <p>@using MvcApplication1.Helpers </p><p>is working for me.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/torontodeveloper1.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by thakur.hansraj</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Sun, 26 Dec 2010 13:57:53 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011311</guid><description><![CDATA[ <p>Nice Post</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/thakur.hansraj.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by itrond</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Thu, 20 Jan 2011 05:09:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011657</guid><description><![CDATA[ <p>Nice. Notice: In MVC 3, you have to return MvcHtmlString instead of string.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/itrond.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by pritom.nandi</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Tue, 25 Jan 2011 01:34:45 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000011745</guid><description><![CDATA[ <p>This article is indeed a very helpful one....Thank u..Cheers</p><p>Best Regards,</p><p>Pritom Nandy</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/pritom.nandi.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by jefferyxu</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Sat, 12 Feb 2011 06:26:05 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012025</guid><description><![CDATA[ <p>i really want to know this synax :</p><p> public static string Truncate(this HtmlHelper helper, string input, int length)</p><p>        {</p><p>            if (input.Length &lt;= length)</p><p>            {</p><p>                return input;</p><p>            }</p><p>            else</p><p>            {</p><p>                return input.Substring(0, length) + &quot;...&quot;;</p><p>            }</p><p>        }</p><p></p><p>can anyone help me?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/jefferyxu.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Pallak Gandhi</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Sat, 26 Feb 2011 01:28:19 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012249</guid><description><![CDATA[ <p>Does this approach support accessibility; to elaborate will a user be able to work using a screen reader?</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/Pallak%20Gandhi.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by ianchadwick</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Sun, 03 Apr 2011 09:51:01 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000012697</guid><description><![CDATA[ <p>If you want the helper to be available in all views then you can add the the namespace to your web.config (I&#39;m using MVC 3.0 so not sure if this works with other setups).</p><p></p><p>Anyway add &lt;add namespace=&quot;MvcApplication1.Helpers&quot; /&gt; to</p><p></p><p>configuration/system.web.webPages.razor/pages/namespaces</p><p></p><p>Further to itrond&#39;s point about returning MvcHtmlString instead of just string, this is because MVC will encode it. So if you want the string to be encoded continue to return a string.</p><p></p><p>To create a MvcHtmlString object you can use its static method like MvcHtmlString.Create()</p><p></p><p>Chad</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/ianchadwick.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by AlexAndRock</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Tue, 10 May 2011 02:10:46 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013117</guid><description><![CDATA[ <p>To ianchadwick:</p><p>Hi!</p><p>After adding the namespace &quot;webapp.helpers&quot; to my webconfig my helpers is work good. But they still are not available in my views. Please, help me!</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/AlexAndRock.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by slickj</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Fri, 27 May 2011 16:25:28 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013296</guid><description><![CDATA[ <p>AlexAndRock, just add a &quot;@using  YourHelpersNamespace&quot; at the top of your Razor view. That should do the trick...</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/slickj.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by maz3tt</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Sat, 11 Jun 2011 15:52:50 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000013487</guid><description><![CDATA[ <p>good i was looking to clear things about the ways. cleared 100%</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/maz3tt.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by nityaprakash</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Sun, 04 Sep 2011 11:05:00 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014120</guid><description><![CDATA[ <p>When tried to create extension method, I am having trouble using namespace  System.Web.Mvc name space in the code file, that i created in app_code folder.  So I am also not able to its classes in the code. However it is compiling but cant access in razor view.</p>]]></description><enclosure length="0" type="image/png" url="http://i3.asp.net/avatar/nityaprakash.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sunshuqian2010</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Wed, 21 Sep 2011 04:02:58 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014230</guid><description><![CDATA[ <p>我会了，我在学习呢，太好了。I see,very good.</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/sunshuqian2010.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by Pratap Reddy</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Wed, 12 Oct 2011 11:08:14 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000014407</guid><description><![CDATA[ <p>I have an issue with my custom helper class.</p><p>I created a helper class to find date diff between two dates.</p><p>Its loading fine with post backs.</p><p>Issue is, when i click &lt;a onclick=&quot;Calculate()&quot;&gt;Calculate&lt;/a&gt; which is a javascript fucntion posting the data by serialize(), and thus hitting a action method. In this process when i debug, my custom helper class is getting called and the updated result is sent back as part of rendered html. But, my view is not getting updated with latest o/p of helper class.</p><p>All i want to create is a helper class which should be independent of controller and should render the o/p based on the parameters passed.</p><p></p><p>View code: </p><p>@model CustomHtmlExtensionTest.Models.DateModels</p><p>           </p><p>@using MvcHtmlHelpers;</p><p></p><p>&lt;script type=&quot;text/javascript&quot;&gt; </p><p>   function Calculate() {</p><p>       var url = &#39;@Url.Action(&quot;CalculateDateDiff&quot;, &quot;Home&quot;)&#39;;</p><p></p><p>       $.post(url, $(&quot;#Index&quot;).serialize(), function (data) {</p><p>           $(&#39;#lblMessage&#39;).text(data);</p><p>       });</p><p>}</p><p>&lt;/script&gt;</p><p>@{</p><p>    ViewBag.Title = &quot;Home Page&quot;;</p><p>}</p><p>&lt;h2&gt;@ViewBag.Message&lt;/h2&gt;</p><p>@using (Html.BeginForm(&quot;Index&quot;, &quot;Home&quot;, FormMethod.Post, new { id=&quot;Index&quot;}))</p><p>{</p><p><p></p><p>    &lt;table id=&quot;tblContent&quot;&gt;</p><p>    &lt;tr&gt;</p><p>        &lt;td style=&quot;width:40%&quot;&gt;</p><p>         From Date :</p><p>        &lt;/td&gt;</p><p>        &lt;td&gt;</p><p>            @Html.EditorFor(m =&gt; m.FrmDate) (MM/DD/YYYY)</p><p>            @Html.ValidationMessageFor(m =&gt; m.FrmDate)</p><p>        &lt;/td&gt;</p><p>    &lt;/tr&gt;</p><p>    &lt;tr&gt;</p><p>        &lt;td&gt;</p><p>            To Date :</p><p>        &lt;/td&gt;</p><p>        &lt;td&gt;</p><p>            @Html.EditorFor(m =&gt; m.ToDate) (MM/DD/YYYY)    </p><p>            @Html.ValidationMessageFor(m =&gt; m.ToDate)</p><p>        &lt;/td&gt;</p><p>    &lt;/tr&gt;</p><p>    &lt;tr&gt;</p><p>       &lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;</p><p>        &lt;label id=&quot;lblMessage&quot;&gt;</p><p>           @Html.CalculateDateDiff(Model.FrmDate, Model.ToDate)</p><p>         &lt;/label&gt;</p><p>       &lt;/td&gt;</p><p>    &lt;/tr&gt;</p><p>    &lt;tr&gt;</p><p>        &lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;</p><p>           @*@Html.ActionLink(&quot;Calculate&quot;, &quot;Index&quot;, &quot;Home&quot;, new { Dates = Model.FrmDate.ToString() + &quot;$&quot; + Model.ToDate.ToString() }, null)*@</p><p>           @*&lt;input type=&quot;submit&quot; value=&quot;Calculate&quot; /&gt;*@</p><p>          &lt;a onclick=&quot;Calculate()&quot;&gt;Calculate&lt;/a&gt;</p><p>        &lt;/td&gt;</p><p>    &lt;/tr&gt;</p><p>    &lt;/table&gt;</p><p>    </p><p>    &lt;br /&gt;    </p><p></p></p><p>}</p><p></p><p>Controller code:</p><p>using System;</p><p>using System.Collections.Generic;</p><p>using System.Linq;</p><p>using System.Web;</p><p>using System.Web.Mvc;</p><p>using CustomHtmlExtensionTest.Models;</p><p></p><p>namespace CustomHtmlExtensionTest.Controllers</p><p>{</p><p>    public class HomeController : Controller</p><p>    {</p><p>        public ActionResult Index()</p><p>        {</p><p>            ViewBag.Message = &quot;MVC Custom Helper class Sample&quot;;</p><p>            DateModels model = new DateModels();</p><p>            return View(model);</p><p>        }</p><p>        //public ActionResult Index(string Dates)</p><p>        //{</p><p></p><p>        //    DateModels model = new DateModels();</p><p>        //    if (Dates != null)</p><p>        //    {</p><p>        //        ModelState.Clear();</p><p>        //        string[] strDates = Dates.Split(&#39;$&#39;);</p><p>        //        model.FrmDate = strDates[0];</p><p>        //        model.ToDate = strDates[1];</p><p>        //    }</p><p>        //    ViewBag.Message = &quot;MVC Custom Helper class Sample&quot;;</p><p>        //    return View(model);</p><p>        //}</p><p></p><p>        [HttpPost]</p><p>        public ActionResult Index(DateModels model)</p><p>        {</p><p>            ViewBag.Message = &quot;MVC Custom Helper class Sample&quot;;            </p><p>            return View(model);</p><p>        }</p><p>        public ActionResult About()</p><p>        {</p><p>            return View();</p><p>        }</p><p>    }</p><p>}</p><p></p><p>Helper class code:</p><p></p><p>using System;</p><p>using System.Collections.Generic;</p><p>using System.Linq;</p><p>using System.Text;</p><p>using System.Web.Mvc;</p><p>using System.Web;</p><p></p><p></p><p>namespace MvcHtmlHelpers</p><p>{</p><p>    public static class MvcHtmlHelpers</p><p>    {</p><p>        public static MvcHtmlString CalculateDateDiff(this HtmlHelper helper, string strdate1, string strdate2)</p><p>        {</p><p>            try</p><p>            {</p><p>                int Years, Weeks, Months, Days;</p><p>                DateTime date1, date2;</p><p>                if ((strdate1 != &quot;&quot; || strdate1 != null) &amp;&amp; (strdate2 != &quot;&quot; || strdate2 != null))</p><p>                {</p><p>                    date1 = Convert.ToDateTime(strdate1);</p><p>                    date2 = Convert.ToDateTime(strdate2);</p><p></p><p>                    TimeSpan diff = date2 - date1;</p><p>                    Years = diff.Days / 366;</p><p>                    DateTime workingDate = date1.AddYears(Years);</p><p></p><p>                    while (workingDate.AddYears(1) &lt;= date2)</p><p>                    {</p><p>                        workingDate = workingDate.AddYears(1);</p><p>                        Years++;</p><p>                    }</p><p></p><p>                    //months</p><p>                    diff = date2 - workingDate;</p><p>                    Months = diff.Days / 31;</p><p>                    workingDate = workingDate.AddMonths(Months);</p><p></p><p>                    while (workingDate.AddMonths(1) &lt;= date2)</p><p>                    {</p><p>                        workingDate = workingDate.AddMonths(1);</p><p>                        Months++;</p><p>                    }</p><p></p><p>                    //weeks and days</p><p>                    diff = date2 - workingDate;</p><p>                    Weeks = diff.Days / 7; //weeks always have 7 days</p><p>                    Days = diff.Days % 7;</p><p></p><p>                    string strReturn = Years.ToString() + &quot; Years &quot; + Months.ToString() + &quot; Months &quot; + Weeks.ToString() + &quot; Weeks &quot; + Days.ToString() + &quot; Days &quot;;</p><p>                    return new MvcHtmlString(strReturn);</p><p></p><p>                }</p><p>                else</p><p>                {</p><p>                    return new MvcHtmlString(&quot;Please enter Proper Dates&quot;);</p><p>                }</p><p>            }</p><p>            catch (FormatException ex)</p><p>            {</p><p>                return new MvcHtmlString(&quot;Wrong date Format&quot;);</p><p>            }</p><p>        }</p><p>      </p><p>    }</p><p></p><p>}</p><p></p><p>Please help me out.</p><p></p><p></p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/Pratap%20Reddy.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by yasser.shaikh</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Thu, 05 Apr 2012 08:57:52 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000015261</guid><description><![CDATA[ <p>informative! just wanted to know is there any particular reason for not having a button in html helper class</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/yasser.shaikh.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by rajkumar.ms2020</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Mon, 17 Dec 2012 05:44:16 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000017022</guid><description><![CDATA[ <p>Nice documnet</p>]]></description><enclosure length="0" type="image/png" url="http://i2.asp.net/avatar/rajkumar.ms2020.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item><item><title>Comment Posted by sriharsha2410</title><link>http://www.asp.net/mvc/tutorials/older-versions/views/creating-custom-html-helpers-cs</link><pubDate>Mon, 13 May 2013 06:41:09 GMT</pubDate><guid isPermaLink="false">00000000-0000-0000-0000000019099</guid><description><![CDATA[ <p>This is pretty good...</p>]]></description><enclosure length="0" type="image/png" url="http://i1.asp.net/avatar/sriharsha2410.jpg?forceidenticon=false&amp;dt=635071770600000000&amp;enableAvatar=False&amp;cdn_id=2013-05-10-001" /></item></channel></rss>