ToastService not working in @rendermode InteractiveWebAssembly #3504
-
|
I am using toast service for displaying some messages. It works perfectly in InteractiveAuto mode but when i use @rendermode InteractiveWebAssembly, the toast message is not displayed. (dotnet 9 blazor) @Inject IToastService ToastService void MyMethod() ToastService.ShowSuccess("Success!"); Do I need to do something more to make this happen, pls help. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Do you have the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @vnbaaij Need to set this for pages that is to be rendered as InteractiveWebAssembly |
Beta Was this translation helpful? Give feedback.
Do you have the
FluentToastProvideron the Client side? And also theAddFluentUIComponents()in the Client'sProgram.cs?