Skip to content

Is it possible to render content from the Root Render Tree? #663

Answered by groogiam
groogiam asked this question in Q&A
Discussion options

You must be logged in to vote

Below is a summary from the response from Telerik.

The Window component and all popups in general are rendered not in their place of declaration but on root level. Therefore, you should look for their content inside the TelerikRootComponent. You can find some more details in this regard in the readme file of our testing sample - see the last bullet in this section covering popup components. In addition, here you can check the example of testing the content of a Window component - https://github.com/telerik/blazor-ui/blob/master/testing/bUnit-justmock/Telerik.Blazor.BUnit.JustMock/DemoSample/WindowButtonPage.cs.

This approach basically extends the test context to include an instance of the…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@groogiam
Comment options

@egil
Comment options

egil Mar 28, 2022
Maintainer

@groogiam
Comment options

@egil
Comment options

egil Mar 29, 2022
Maintainer

Comment options

You must be logged in to vote
2 replies
@egil
Comment options

egil Mar 30, 2022
Maintainer

@alesandrino
Comment options

Answer selected by groogiam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants