Select theme:
This article demonstrates how to use the Notification component. Check also the component guide and API reference.
<RadzenNotification />
in your application main layout.
NotificationService
in your application Startup or Program.
NotificationService
in your page.
Notify()
method of the notification service with new NotificationMessage
with desired properties.
@inject NotificationService notificationService
...
<RadzenButton Text="Show success notification"
Click="@(args => ShowNotification(new NotificationMessage() { Severity = NotificationSeverity.Success, Summary = "Success Summary", Detail = "Success Detail", Duration = 4000 }))" />
Radzen is free to use. You can also test the premium features for 15 days.
Download NowSelect theme: