Blazor components do not work in partial views. #20332
Labels
area-blazor
Includes: Blazor, Razor Components
Needs: Author Feedback
The author of this issue needs to respond in order for us to continue investigating this issue.
Status: No Recent Activity
Milestone
Describe the bug
Blazor components do not work in partial views.
To Reproduce
I have
Index.cshtml
that Invokes a partial view called_details.cshtml
Within that partial view I'm trying to invoke
Details.razon
Razor component like this:Events don't get fired but content does get rendered.
If I use
The content doesn't even get rendered. On the other side, if I use either of the above in the
Index.cshtml
the component works perfectly.Here is the Details component code
Any clues? Is this scenario supported? Thank you.
Further technical details
The text was updated successfully, but these errors were encountered: