Base solution for your next web application

Activities of "tonid"

Hi, any update on this issue?

Here my implementation code:

In AppNavigationProvider.cs

).AddItem(new MenuItemDefinition(
                    PageNames.App.Tenant.Test,
                    L("Test"),
                    url: "test.dashboard",
                    icon: "icon-notebook",
                    customData: new System.Collections.Generic.Dictionary<string, string>() {{ "id", "testId" }}
                    )

When I looked at source page:

<a ui-sref="test.dashboard" ng-if="!menuItem.items.length" class="ng-scope" href="#/test/dashboard">
                <i class="icon-notebook"></i>
                <span class="title ng-binding">Test</span>
            </a>

There is no ID attribute.

Hi,

I have this one in AppNavigationProvider:

).AddItem(new MenuItemDefinition(
                    PageNames.App.Tenant.Test,
                    L("Test"),
                    url: "test.dashboard",
                    icon: "icon-notebook"
                    )

And it generates this code:

<a ui-sref="test.dashboard" ng-if="!menuItem.items.length" class="ng-scope" href="#/test/dashboard">
                <i class="icon-notebook"></i>
                <span class="title ng-binding">Test</span>
            </a>

I want to add id attribute to <a> tag, like this:

<a ui-sref="test.dashboard" ng-if="!menuItem.items.length" class="ng-scope" href="#/test/dashboard" id="testId">
                <i class="icon-notebook"></i>
                <span class="title ng-binding">Test</span>
            </a>

I have tried it with customData in MenuItemDefinition, but I didn't get any result. So, how to achieve that?

Showing 11 to 13 of 13 entries