New to Telerik UI for ASP.NET MVC? Download free 30-day trial

GridToolbarButtonTagHelper

Example

<toolbar-button>
    <toolbar-command-template></toolbar-command-template>
</toolbar-button>

ChildTags

Tag Name Details
toolbar-command-template TemplateTagHelper

Attributes

Attribute Type Description
name String Set the name of the built-in or custom command. Built-in commands are: "cancel", "create", "save", "excel", "pdf", "search", "columns", "spacer" and "separator".
icon-class String Set the icon for the command.
template String Set the template for the command.
template-id String Sets the template script for the command.
template-view IHtmlContent Sets the partial view for the ToolBar command template.
text String Set the text of the command.
type String Set the type of the ToolBar command. Supported options are "spacer" and "separator". Type should be set for "spacer" and "separator" commands.
In this article
Not finding the help you need?