Replies: 3 comments 4 replies
-
Hi, Converting this to a discussion item as it is not really an issue |
Beta Was this translation helpful? Give feedback.
-
First, do NOT generating sequence numbers programmatically. See https://learn.microsoft.com/en-us/aspnet/core/blazor/advanced-scenarios?view=aspnetcore-9.0#the-problem-with-generating-sequence-numbers-programmatically
We don't have that code. We do not use I think the error has to do with the fact that we use a
It is right there in the docs:
We do not use BuildRenderTree a lot in our components ourselves. As it is an advanced scenario, we don't think a lot of developers are using it in combination with our components. We currently have no plans to include such code in our docs. |
Beta Was this translation helpful? Give feedback.
-
maybe this will work.
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to implement a menu component dynamically with BuildRenderTree() in a wasm dll (.Net 9).
For the menu with FluentNavMenu I have no problem.
But with FluentNavLink I can't insert text content?
Here are the different ways I have tried:
I always get the following error: Unhandled exception rendering component: Error: No element is currently associated with component.
I am trying to find out if I am making an implementation error or if there is a subtlety that I do not understand.
If you could give me a (complete) example of a BuildRenderTree() with all possible attributes.
For FluentNavMenu, FluentNavLink, FluentNavGroup.
Thank you very much for your help and suggestions!
Last request: In the online documentation for each component there is the associated Razor code. Would it be possible (eventually) to have the C# code precisely with BuildRenderTree() ?
Thanks again.
I have attached my UXMenuUXMenu.txt
file.
regards.
Pascal
Beta Was this translation helpful? Give feedback.
All reactions