New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI commands TagHelper GridMessagesCommandsSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("commands", ParentTag = "messages", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridMessagesCommandsSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseGridMessagesCommandsSettingsTagHelper

Implements: ITagHelperITagHelperComponent

Inherited Members TagHelperChildBase.Init(TagHelperContext)TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-grid name="grid">
    <messages>
        <commands cancel="Cancel Changes" />
    </messages>
</kendo-grid>

Constructors

Initializes a new instance of the GridMessagesCommandsSettingsTagHelper class.

C#
public GridMessagesCommandsSettingsTagHelper()

Properties

Defines the text of the "Add" title that is rendered in the ActionSheet when adding a new record and adaptiveMode is set to auto .

C#
public string Add { get; set; }

Defines the text of the "Cancel Changes" button located in the toolbar of the widget.

C#
public string Cancel { get; set; }

Defines the text of the "Cancel" button that is rendered in inline or popup editing mode.

C#
public string CancelEdit { get; set; }

Defines the text of the "ColumnChooser" button.

C#
public string Columnchooser { get; set; }

Defines the text of the "Add new record" button located in the toolbar of the widget.

C#
public string Create { get; set; }

Defines the text of the "Delete" button rendered in inline or popup editing mode.

C#
public string Destroy { get; set; }

Defines the text of the "Edit" button that is rendered in inline or popup editing mode.

C#
public string Edit { get; set; }

Defines the text of the "Export to Excel" button of the grid toolbar.

C#
public string Excel { get; set; }

Defines the text of the "Filter" button.

C#
public string Filter { get; set; }

Defines the text of the "Group" button.

C#
public string Group { get; set; }

Defines the text of the "Save Changes" button located in the toolbar of the widget.

C#
public string Save { get; set; }

Allows the customization of the placeholder text in the grid search panel.

C#
public string Search { get; set; }

Defines the text of the label of the "SelectAll" checkbox.

C#
public string Selectall { get; set; }

Defines the text of the "Sort" button.

C#
public string Sort { get; set; }

Defines the text of the "Update" button that is rendered in inline or popup editing mode.

C#
public string Update { get; set; }

Methods

Adds the current TagHelper instance to its parent TagHelper.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

The TagHelper context.

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>