title: Specify size and maxlength for Html.Kendo().TextBoxFor
body: <p>I am using Server Side Validation On ASP.NET MVC Kendo UI. On a view(used to create) for a text field like this:</p>
  
  <pre><code>@Html.Kendo().TextBoxFor(model =&gt; model.CompanyTypeName).Name("CompanyTypeName")
  </code></pre>
  
  <p>I need to change the size of textbox. I tried like this:</p>
  
  <pre><code>@Html.Kendo().TextBoxFor(model =&gt; model.CompanyTypeName, new { style = "width:50px", @maxlength = "5" }).Name("CompanyTypeName")
  </code></pre>
  
  <p>But doesn't work.Thanks in Advance.</p>