Cannot supply a component of type 'Components.BookComponent' because the current platform does not support the render mode 'Microsoft.AspNetCore.Components.Web.InteractiveServerRenderMode' #55728
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.
Needs: Repro
Indicates that the team needs a repro project to continue the investigation on this issue
Status: No Recent Activity
when i call component by this way i have this error
in TestComponent.razor i call BookComponent to get html
var sensorHtml = new ComponentRenderer() .Render();
BookComponent.razor
@rendermode InteractiveServer
other codes......
but i have this error
Cannot supply a component of type 'Components.BookComponent' because the current platform does not support the render mode 'Microsoft.AspNetCore.Components.Web.InteractiveServerRenderMode'
The text was updated successfully, but these errors were encountered: