Completed
Last Updated: 14 Aug 2024 08:51 by ADMIN
Release 2024 Q4 (Nov)
Created by: Daniel
Comments: 0
Category: Notification
Type: Bug Report
1

Bug report

At this stage, the Telerik UI for ASP.NET Core Notification allows setting arbitrary templates via the NotificationTemplateTagHelper. Despite the API documentation implying that the TagHelper can be nested, the following configuration:

<kendo-notification name="notifications" stacking="NotificationStackingSettings.Down" auto-hide-after="2500">
    ...
    <templates>
        <notification-template type="error">
            <notification-template>
                <p>Some Template</p>
            </notification-template>
        </notification-template>
    </templates>
</kendo-notification>

It does not successfully serialize the Template TagHelper.

Reproduction of the problem

  1. Open the following Telerik REPL
  2. Notice that the template for the success type is not serialized.

Current behavior

The NotificationTemplateTagHelper does not serialize successfully the TemplateTagHelper.

Expected/desired behavior

The NotificationTemplateTagHelper should successfully serialize the TemplateTagHelper.

Environment

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