I want to have custom Html.DateTimePickerFor(a => a.Fields[0].Id, value)
so the result should be like this:
<div name="Fields[0].Id"></div>
Currently I use Html.DatetimePicker("Fields[0].Id", value) and it works perfectly, but I wan to generate dynamic name.
So the question is how to set correct "name" attribute?
TextBoxForversion for DateTime fields or anEditFortemplate for a specific field? I think this is the most important factor at the moment.