Select theme:

Material 3

Notificationlink

This article demonstrates how to use the Notification component. Check also the component guide and API reference.

  1. Register <RadzenNotification /> in your application main layout. image
  2. Register NotificationService in your application Startup or Program. image
  3. Inject NotificationService in your page. image
  4. Execute Notify() method of the notification service with new NotificationMessage with desired properties. image

Blazor declarationlink

@inject NotificationService notificationService
...
<RadzenButton Text="Show success notification" 
            Click="@(args => ShowNotification(new NotificationMessage() { Severity = NotificationSeverity.Success, Summary = "Success Summary", Detail = "Success Detail", Duration = 4000 }))" />


In this article —
© 2016-2025 Radzen Ltd. All Rights Reserved.
Designed and developed with ❤️ in Radzen Blazor Studio.

Select theme:

Material 3