title: How to force uppercase on a Html.TextboxFor
body: <p>I would like to force uppercase on a textbox in my view. So when user type something in the textbox, either the text is immediately converted in uppercase or (an alternative) the text is converted in uppercase when the form is submitted and the model is populated with data (in the action controller). Maybe there are some CSS or jquery solutions but I prefer some MVC solutions (if possible).</p>
  
  <p>Here is my view:</p>
  
  <pre><code>@model Domain.Entities.ProjectTechnology
  
  &lt;script src="../../Scripts/Admin/_AddProjectTechnology.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;div class="editor-label"&gt;Technologies&lt;/div&gt;    
  
  &lt;div class="editor-field"&gt;
  
      @using (Ajax.BeginForm("_AddProjectTechnology", new AjaxOptions { HttpMethod = "POST",
                                                                    UpdateTargetId = "RemoveProjectTechnology",
                                                                    InsertionMode = InsertionMode.Replace,
                                                                    OnComplete = "AddProjectTechnologyCompleted" })) {    
          @Html.ValidationSummary(true)
          @Html.HiddenFor(m =&gt; m.ProjectID)
          @Html.EditorFor(m =&gt; m.TechnologyID)
          @Html.ValidationMessageFor(m =&gt; m.TechnologyID)          
      }
  &lt;/div&gt;
  </code></pre>
  
  <p>And here is my model:</p>
  
  <pre><code>public class ProjectTechnology
  {
      public int     ProjectID   { get; set; }
      public string  TechnologyID    { get; set; }
  }
  </code></pre>
  
  <p>The textbox in question is this line: <strong>@Html.EditorFor(m => m.TechnologyID)</strong></p>
  
  <p>How can I proceed ?</p>
  
  <p>Thanks.</p>