This question is locked. New answers and comments are not allowed.
my html code:
but display is error:
@model IEnumerable<DataModel.t_SendVerify> @(Html.Telerik() .Grid(Model) .Name("VerifyGrid") .DataKeys(keys => keys.Add(o => o.VerifyID).RouteKey("Id")) .Columns(columns => { columns.Bound(o => o.VerifyID).Width(80).Title("序号"); columns.Bound(o => o.Title).Width(150).Title("标题"); columns.Bound(o => o.SendDateTime).Width(150).Title("发送时间"); columns.Bound(o => o.Type).Width(80).Title("状态"); columns.Template(@<text><button id="Insert" title="激活">激活</button> <button id="Invalid" title="作废">作废</button > <button id="CallBack" title="回退">回退</button></text>).Width(180); }) .DetailView(detailView => detailView.Template(e => { Html.Telerik().TabStrip() .Name("TabStrip_" + e.VerifyID) .SelectedIndex(0) .Items(items => { items.Add().Text("Orders").Content(@<div>111111</div>); items.Add().Text("短信内容").Content(@<div>@e.Context</div>); }) .Render(); })) .RowAction(row => { if (row.Index == 0) { row.DetailRow.Expanded = true; } }))