Close Notifications using the NotificationService #61

Open
opened 2026-01-29 17:30:54 +00:00 by claunia · 0 comments
Owner

Originally created by @Stjin on GitHub (Mar 19, 2021).

Is your feature request related to a problem? Please describe.
My issue is not related to a problem, however currently it is only possible to create and Notify a message without manually closing the notification programmatically. This can become a problem when you use the notification to permanently show a status for an async task (such as "Changing status..." or something) .It would be great to hide/close the notification programmatically.

Describe the solution you'd like
I would like to see something like NotificationService.Close(message); or message.Close();

Describe alternatives you've considered
I cannot think of any alternative as async (network) requests don't have a specific duration.

Additional context
I feel like adding a .Close(); method is a basic functionality that would definitely improve the Notification component

Originally created by @Stjin on GitHub (Mar 19, 2021). **Is your feature request related to a problem? Please describe.** My issue is not related to a problem, however currently it is only possible to create and Notify a message without manually closing the notification programmatically. This can become a problem when you use the notification to permanently show a status for an async task (such as "Changing status..." or something) .It would be great to hide/close the notification programmatically. **Describe the solution you'd like** I would like to see something like `NotificationService.Close(message);` or `message.Close();` **Describe alternatives you've considered** I cannot think of any alternative as async (network) requests don't have a specific duration. **Additional context** I feel like adding a .Close(); method is a basic functionality that would definitely improve the Notification component
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#61