Skip to content

Oqtane with Syncfusion on .net6 and 3.03 #2024

Answered by sbwalker
DrtyByt asked this question in Q&A
Discussion options

You must be logged in to vote

@DrtyByt this issue is resolved in #2045. You can also resolve it in the current version by registering your resources in your module using the Declaration = ResourceDeclaration.Global attribute:

    public class HostResources : IHostResources
    {
        public List<Resource> Resources => new List<Resource>()
        {
            new Resource {
                ResourceType = ResourceType.Stylesheet,
                Declaration = ResourceDeclaration.Global,
                Url = "_content/Radzen.Blazor/css/default.css" }
        };
    }

That being said, I do not believe that the IHostResources approach is the recommended way to register static resources - it was more of a temporary s…

Replies: 6 comments 14 replies

Comment options

You must be logged in to vote
10 replies
@ADefWebserver
Comment options

@ADefWebserver
Comment options

@sbwalker
Comment options

@ADefWebserver
Comment options

@ADefWebserver
Comment options

Comment options

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

@DrtyByt
Comment options

Answer selected by DrtyByt
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@markagama
Comment options

Comment options

You must be logged in to vote
1 reply
@oqtanecms
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants