Hi,
i have problems with multiple editors on the same page:
I know that each editor needs a unique name, but than a post to the controller with the correct model doesn't work... what is the best practice here?
i have problems with multiple editors on the same page:
01.@model IEnumerable<SampleViewModel>02. [...]03.@foreach (var item in Model)04.{05. <div class="form-horizontal">06. <div class="form-group">07. @Html.LabelFor(modelItem => item.Html, new { @class = "control-label col-md-2" })08. <div class="col-md-10">09. @Html.Kendo().EditorFor(modelItem => item.Html).Tools(tools=>tools.ViewHtml()).Encode(false)10. </div>11. </div>12. </div>13.} [...]
I know that each editor needs a unique name, but than a post to the controller with the correct model doesn't work... what is the best practice here?