title: Adding HtmlHelper NameSpace in Web.Config does not work
body: <h2>Problem No 1:</h2>
  <p>I have started learning ASP.NET MVC. I have made a simple extension method, like this:</p>
  <pre><code>namespace MvcTestz  //Project is also named as &quot;MvcTestz&quot;
  {
    public static class SubmitButtonHelper //extension method.
    {
      public static string SubmitButton(this HtmlHelper helper,string buttonText)
      {
          return string.Format(&quot;&lt;input type=\&quot;submit\&quot; value=\&quot;{0}\&quot;&gt;&quot;,buttonText);
      }
    }
  }
  </code></pre>
  <p>Then I have added namespace of the Custom HtmlHelper in to the <code>Web.Config</code> ,like this</p>
  <pre><code>  &lt;namespaces&gt;
      &lt;!--other namespaces--&gt;
      &lt;add namespace=&quot;MvcTestz&quot;/&gt;
      &lt;!--other namespaces--&gt;
    &lt;/namespaces&gt;
  </code></pre>
  <p>So that I could use intellisense in the razor View ,but it custom Helper didnt showed up in  one View <code>(Home/View/About.cshtml)</code>.<br/><br/>
  <img src="https://i.stack.imgur.com/1Xvnj.jpg" alt="enter image description here" /></p>
  <p>So in another view <code>(Home/View/Index.cshtml)</code> I added namespace by <code>@using MvcTestz;</code> statement.</p>
  <h2>Problem No 2:</h2>
  <p>Upon WebApp execution Home page<code>(Home/View/Index.cshtml)</code> shows input button text without rendering it into HTML.</p>
  <p><img src="https://i.stack.imgur.com/T5f0l.jpg" alt="enter image description here" />
  On the About page <code>(Home/View/About.cshtml)</code> sever generates error. <a href="https://i.stack.imgur.com/4vJJw.jpg" rel="nofollow noreferrer">(Click for Enlarged)</a>
  <img src="https://i.stack.imgur.com/4vJJw.jpg" alt="enter image description here" /></p>
  <h2>Update:</h2>
  <ol>
  <li>Intellisense problem solved , I had to edit the Web.Config present in the View Directory. SOLVED.</li>
  <li><code>HtmlString</code> Should be used if I want to render a Html button. SOLVED.</li>
  </ol>