This guide demonstrates how to use the Notification component.

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

Blazor declaration

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

We are here for you

Making our users happy is always a priority for us.