Skip to content

Grid throws an error when the Filterable Column Messages TagHelper is set #7632

@alestoya

Description

@alestoya

Bug report

Grid throws an error when the Filterable Column Messages TagHelper is set.

Reproduction of the problem

  • Open the following Telerik REPL example.
  • Set the child <messages /> in a column's <filterable></filterable> TagHelper.
  • Notice the observed error.

Current behavior

Setting the Messages TagHelper produces the following compilation error:

The tag is not allowed by parent tag helper. Only child tags with name(s) 'cell, operators, datasource' are allowed.

Expected/desired behavior

Setting the Messages TagHelper should not produce a compilation error and should allow setting the messages similarly to the HtmlHelper Grid:

.Columns(columns =>
{
    columns.Bound(p => p.ShipName).Width(500)
         .Filterable(filterable => {
                   filterable.Messages(message => message.Info("My Ship Name"));
          });
})

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions