GridToolbarTagHelper
Kendo UI UploadFile TagHelper GridToolbarTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("toolbar", ParentTag = "kendo-grid")]
[RestrictChildren("toolbar-button", new string[] { "overflow" })]
[SuppressTagRendering]
public class GridToolbarTagHelper : TagHelperCollectionBase<GridToolbarButtonTagHelper>, ITagHelper, ITagHelperComponent, IList<GridToolbarButtonTagHelper>, ICollection<GridToolbarButtonTagHelper>, IEnumerable<GridToolbarButtonTagHelper>, IEnumerable, IOverflowSettingsContainer
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionBase<GridToolbarButtonTagHelper>GridToolbarTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<toolbar>
<toolbar-button text="Add"></toolbar-button>
</toolbar>
</kendo-grid>
Child Tags
Constructors
Initializes a new instance of the GridToolbarTagHelper class.
public GridToolbarTagHelper()
Properties
Specifies the template for the toolbar. The string will be treated as a single string template for the whole Grid Toolbar.
public string ClientTemplate { get; set; }
Specifies the name of the client template handler that returns the grid toolbar.
public string ClientTemplateHandler { get; set; }
Specifies the id of the external template for the grid toolbar.
public string ClientTemplateId { get; set; }
The view for the grid toolbar client template.
public IHtmlContent ClientTemplateView { get; set; }
If set to true, the toolbar will show the inactive tools in a disabled state. Otherwise the tools will be hidden.
public bool? ShowInactiveTools { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides: