GridToolbarButtonTagHelper

Example

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

ChildTags

Tag NameDetails
toolbar-command-templateTemplateTagHelper

Attributes

AttributeTypeDescription
nameStringSet the name of the built-in or custom command. Built-in commands are: "cancel", "create", "save", "excel", "pdf", "search", "columns", "spacer" and "separator".
icon-classStringSet the icon for the command.
templateStringSet the template for the command.
template-idStringSets the template script for the command.
template-viewIHtmlContentSets the partial view for the ToolBar command template.
textStringSet the text of the command.
typeStringSet the type of the ToolBar command. Supported options are "spacer" and "separator". Type should be set for "spacer" and "separator" commands.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support