Correct. I want to programmatically add dividers to the left navigation menu at my discretion when adding menu items.
Any update on this?
Hi,
Maybe you misunderstood. I want to programmatically add a seperator as I'm adding ApplicationMenuItem items to the menu within the menu itself. What you show is a divider between the menu navigation and the content. This is not what I am asking.
Clearly it did make a difference as with your way it worked for me and the other way it didn't. Spent most of the day yesterday trying to figure out why it wasn't working for me as the previous ticket created indicated.
Hi,
Thank you that worked! However I'm a little confused as to why a similar ticket created by a user with a similar issue as myself did not resolve my issue. If you look at this ticket https://support.abp.io/QA/Questions/2808/how-to-user-service-injection-for-IMenuContributor you can see the suggestion is to use the context.ServiceProvider.GetRequiredService<> method do accomplish this, which is they way I was doing it (and working when my project was a MVC UI vs a Blazor Web Assembly).
What is the difference between the two ways of achieving this and in what circumstance would I use one method of resolving over the other?
Thanks.
Steve@cfdatasystems.com
Can you provide to me this sample project so I can verify you matched the exact scenario I described above? That is what I asked for and not just a screenshot of code
Thank you
You didn't answer my question. Yes, I've looked at this documentation several times, but it this link DOES NOT address doing this within a local docker container and being hosted by the ABP suite generated public site.
Could you please provide guidance as to the question I am asking vs just sending a link to documentation that has been read over several times.
Thanks.
Hi,
But regardless I figured it out by creating protected variables in the class and then populating them with the individual property values (as shown in the link I referred to) and then providing in the .razor page the reference to those protected variables.
Just a general comment which comes up a lot when support responds to tickets, you all need to do a better job at reading the tickets and responding to the individual questions being asked. It's almost as if you are just glancing at the information we write and are quickly sending out links to existing documentation without understanding and responding to the specific question(s) being asked.
Nevertheless, I was able to figure out how to do what I was trying to do after spending the better part of a day researching, but I was hoping that support could show me the way that you folks do it so I wouldn't have to waste too much time trying to figure it out myself.
Steve