Base solution for your next web application
Open Closed

MenuItemDefinition without display name #1226


User avatar
0
tomsky created

when I define a MenuItemDefinition like this

context.Manager.MainMenu .AddItem( new MenuItemDefinition( "Home", L("HomePage"), url: "/", icon: "fa fa-home", requiresAuthentication: true ) )

the result is an icon followed by [Home] How can I omit the square brackets? How can I omit the whole display name and just show the icon?


No answer yet!