Notification not working

Hi
why not every click is notified?
https://blazor.radzen.com/notification

Fixed! Will be part of next release.

1 Like

Thank you for answering, I look forward to the next release, thanks

Should be ok now: https://blazor.radzen.com/notification

1 Like

Still not working.
This is my code
Startup.cs
public void ConfigureServices(IServiceCollection services)
{
services.AddRazorPages();
services.AddServerSideBlazor().AddCircuitOptions(opt => { opt.DetailedErrors = true; });
//.........
services.AddScoped<Radzen.NotificationService>();
}

component.razor
@inject Radzen.NotificationService Notifications
<button @onclick="Show">Show Notifications
@code{
private void Show()
{
Notifications.Notify(new Radzen.NotificationMessage() { Severity = NotificationSeverity.Warning,Summary = "Notification message !!", Duration = 3000 });
}
}

You also need to add <RadzenNotification /> to your layout. Here is how this is done in our demos.

1 Like