This question is locked. New answers and comments are not allowed.
Using Razor syntax.
Is there a way to add @Html.LabelFor/EditorFor statements into a DetailView? There doesn't seem to be a syntax that I've found that works properly and I haven't found anything similar in your samples.
Something like below
Is there a way to add @Html.LabelFor/EditorFor statements into a DetailView? There doesn't seem to be a syntax that I've found that works properly and I haven't found anything similar in your samples.
Something like below
.DetailView(detailView => detailView.Template(p =>{ Html.Telerik().TabStrip() .Name("TabStrip_" + p.LineItemNumber.ToString()) .SelectedIndex(0) .HtmlAttributes(new {style = "width:800px"}) .Items(items => { items.Add().Text("Overrides").Content( @<div> @Html.LabelFor(p => p.SalesOrderLineItem.BillToPCN)
@Html.EditorFor(p => p.SalesOrderLineItem.BillToPCN) </div>); }).Render();}