.ToolBar(toolbar => {toolbar.Template(
@<text>
<div>
@foreach (var role in Model)
{
<input type="checkbox" name="roleIds" value="@role.Id"/>
@Html.Label(role.Name, new { @class = "checkbox" })
}
@item.CreateButton(new Text="New") //it doesn't work,
</div>
</text>); })
how to change the text of the button? thank's!