【发布时间】:2013-05-28 13:37:38
【问题描述】:
有没有办法以编程方式将多个项目添加到Telerik MVC Grid 的工具栏?
我通常会手动添加这样的项目,但是我想将一组项目添加到工具栏,并想知道是否有办法实现这一点?
.ToolBar(commands =>
{
commands.Custom().HtmlAttributes(new { id = "btn-addproduct" }).Text("Add Product").HtmlAttributes(new { onclick = "addQuotationLine(" + Model.Id + ");return false;" });
})
【问题讨论】:
标签: razor telerik telerik-grid telerik-mvc