Integration with QuickGrid #4102
Replies: 3 comments 15 replies
-
@mdmontesinos can you share your Resources declaration in your module which references the QuickGrid JavaScript file. |
Beta Was this translation helpful? Give feedback.
-
Reported the issue in aspnetcore repo: dotnet/aspnetcore#55009 |
Beta Was this translation helpful? Give feedback.
-
The asp.net core team just answered to the issue I posted about integrating QuickGrid. Basically, there's no "good" way to integrate this component in Oqtane, as it would either require modifying MSBuild to supress the BLAZOR106 error or creating an importmap so that I can rename the scoped file to QuickGrid.js (without the .razor) and Quickgrid is still able to load it. Also, @sbwalker they seem to be "critical" with the way Oqtane integrates external RCLs.
It's also possible I didn't explained properly how Oqtane operates, as I'm still getting the grasp for it. Perhaps you'd like to weigh in the conversation. |
Beta Was this translation helpful? Give feedback.
-
Has anyone being able to integrate the new asp.net core official QuickGrid component in Oqtane?
I've installed the Nuget package in both client and server, copied the dll in the Package project, extracted the staticwebassets into _content/Microsoft.AspNetCore.Components.QuickGrid and referenced them from my module resources.
However, the issue is that the js for QuickGrid is scoped to the razor component "QuickGrid.razor.js" which throws a compile error in both Oqtane.Server and my Server project:
"Error BLAZOR106 The JS module file '~\oqtane.framework\Oqtane.Server\wwwroot\ _content\Microsoft.AspNetCore.Components.QuickGrid\QuickGrid.razor.js' was defined but no associated razor component or view was found for it."
If you try to rename it to QuickGrid.js, it compiles but you end up getting an error from the QuickGrid razor component not being able to find the javascript file.
Beta Was this translation helpful? Give feedback.
All reactions