New to Telerik UI for BlazorStart a free 30-day trial

Notification Events

Updated on May 13, 2026

This article describes the available events in the Telerik Notification for Blazor:

OnClose

The TaskBoard OnClose event fires when a visible notification popup disappears as a result of a Close button click or the elapse of the CloseAfter timeout period.

The event handler receives a NotificationCloseEventArgs argument.

Using the Notification OnClose event

<TelerikButton OnClick="@ShowNotification">Show Notification</TelerikButton>

<p>Last <code>OnClose</code> event: @NotificationEventLog</p>

<TelerikNotification @ref="@NotificationRef"
                     OnClose="@OnNotificationClose" />

@code {
    private TelerikNotification? NotificationRef;

    private string NotificationEventLog { get; set; } = string.Empty;

    private void OnNotificationClose(NotificationCloseEventArgs args)
    {
        NotificationEventLog = $"Fired at {DateTime.Now.ToString("HH:mm:ss.fff")}. Close action: {args.CloseAction}. Text: \"{args.Model.Text}\"";
    }

    private void ShowNotification()
    {
        NotificationRef?.Show($"Notification Text {Random.Shared.Next(1, 100)}", ThemeConstants.Notification.ThemeColor.Primary);
    }
}

See Also

In this article
OnCloseSee Also
Not finding the help you need?
Contact Support