Hello,
In my ASP.NET Core Razor Pages project I tend to create ViewComponents, which are then reusable in multiple Razor pages, either via AJAX or via Component.InvokeAsync methods.
I was trying to do the same with a Syncfusion component (Circular Gauge) - wrapping it up in a ViewComponent and calling it via Component.InvokeAsync but the component does not render. It seems that the cause is that syncfusion js scripts are not being generated, as in the page source I can see that the ejs tag helpers from the ViewComponent are presented as they were defined and no js is generated.
To be noted that using the Syncfusion component directly on the same page, works perfectly.
The simple ViewComponent default.cshtml used for testing:
That said, woud you have a simple example or quick guidelines on how to achieve this?
.
Edit: spelling