Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "legion123"

thank you. i will try it.

sorry, i lose description.

i use Firefox 46.0.1 boilerplate v0.9.1.0 module zero same version (v0.9.1.0)

thank you.

thank you very much. i changed my sample souces. problem is cleared . but i found another same case.

i change these souce codes.

file: _LanguageSelection.cshtml

@using MyAbp.Web.Views @model MyAbp.Web.Models.Layout.LanguageSelectionViewModel

@{ var calculateLangMenuUrl = new Func<string, string>((url) => { return ApplicationPath + url; }); }

<li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <i class="@Model.CurrentLanguage.Icon"></i> <span>@Model.CurrentLanguage.DisplayName</span> <b class="caret"></b> </a> <ul class="dropdown-menu"> @foreach (var language in Model.Languages) { if (language.Name != Model.CurrentLanguage.Name) { <li><a href="@calculateLangMenuUrl("AbpLocalization/ChangeCulture?cultureName")=@(language.Name)&returnUrl=@(Request.Url)"><i class="@language.Icon"></i> @language.DisplayName</a></li> } } </ul> </li>

i found it.

MyAbpZeroNavigationProvider.cs file is there


public class MyAbpZeroNavigationProvider : NavigationProvider
{
    public override void SetNavigation(INavigationProviderContext context)
    {
        context.Manager.MainMenu
            .AddItem(
                new MenuItemDefinition(
                    "Home",
                    L("HomePage"),
                    url: "/",                                           // <----- i wish this url is "/" + "Virtual ApplicationPath"  :( 
                    icon: "fa fa-home",
                    requiresAuthentication: true

thank you very much. i soon try it. :D

Showing 1 to 5 of 5 entries