title: How can I access attributes of Html elements in ASP.NET MVC
body: <p>With ASP.NET Webforms, I could drag and drop a control on a form and be able to access its properties:</p>
  
  <pre><code>if (number == 0)
     AddButton.Enabled = false;
  </code></pre>
  
  <p>Although I cannot drag and drop a control on a ASP.NET MVC View template, can I change its attributes? </p>
  
  <p>For instance:</p>
  
  <ul>
  <li>disable a button in some conditions and be able to enable it if conditions change.</li>
  <li>Be able to change the text of a button from "<strong>Next-></strong>" to "<strong>Finish</strong>" </li>
  <li>etc.</li>
  </ul>