This is a migrated thread and some comments may be shown as answers.
change button text in toolbar template
0 Answers 48 Views
This is a migrated thread and some comments may be shown as answers.
xu
Top achievements
Rank 1
xu asked on 28 Jun 2012, 05:56 AM

.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!

No answers yet. Maybe you can help?

Tags
Grid
Asked by
xu
Top achievements
Rank 1
Share this question
or