Base solution for your next web application
Open Closed

Navigationtree items #3582


User avatar
0
pumbinha created

Hi all,

I've tried to get info about this topic in the forum but I found nothing relevant...

I'd like to show in some specific navigation tree items a dynamic text (example: numer of unread messages or something that comes from the database / web service).

Is this with Aspnet Zero possible? I know the NavigationTree Class where all the Rights and Items are build but I don't find an easy way to achieve what I want...

Thank you in advance!


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @pumbinha,

    This is not possible by default but you can modify menu cshtml/html file to implement this. I can point you to correct file if you can share the template you are using (angular1, angular2, MVC 5.x & jQuery, ASP.NET Core & jQuery).

    Thanks.

  • User Avatar
    0
    pumbinha created

    <cite>ismcagdas: </cite> Hi @pumbinha,

    This is not possible by default but you can modify menu cshtml/html file to implement this. I can point you to correct file if you can share the template you are using (angular1, angular2, MVC 5.x & jQuery, ASP.NET Core & jQuery).

    Thanks.

    Hi, that would be great!

    I'm currently using Angular 1.x + MVC5.

    Thank you in advance!

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This is the file you have to modify <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/dev/src/MyCompanyName.AbpZeroTemplate.Web/App/common/views/layout/sidebar.cshtml">https://github.com/aspnetzero/aspnet-ze ... bar.cshtml</a>.

    Please let us know if you have any problems.

    Thanks.