Skip to content

Commit 21f0174

Browse files
committed
add a note
1 parent 228598e commit 21f0174

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

knowledge-base/notification-single-app-instance.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ There are two possible ways to implement a reusable Notification component insta
3434
* [Pass the Notification in a Cascading Value](#pass-the-notification-in-a-cascading-value)
3535
* [Use the Notification as a Service](#use-the-notification-as-a-service)
3636

37+
The Notification component in both scenarios must be defined:
38+
39+
1. As a descendant (or child) of the [`<TelerikRootComponent>`]({%slug rootcomponent-overview%}).
40+
1. In a `.razor` file with enabled interactive render mode. The `MainLayout` is interactive only if the Blazor app has **Global** interactivity location.
41+
3742
### Pass the Notification in a Cascading Value
3843

3944
1. [Define a Telerik Notification component]({%slug notification-overview%}#creating-blazor-notification) in `MainLayout.razor`.

0 commit comments

Comments
 (0)