title: How to write custom ASP.NET MVC HTML Helper like Html.TextBoxFor and set correct name attribute
body: <p>I want to have custom <code>Html.DateTimePickerFor(a =&gt; a.Fields[0].Id, value)</code></p>
  
  <p>so the result should be like this:</p>
  
  <pre><code>&lt;div name="Fields[0].Id"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Currently I use <code>Html.DatetimePicker("Fields[0].Id", value)</code> and it works perfectly, but I wan to generate dynamic name.</p>
  
  <p>So the question is how to set correct <code>"name"</code> attribute?</p>