0
PhilWynn created
Hi,
I am attempting to specify a menu item with a "_blank" target:
).AddItem(new MenuItemDefinition(
PageNames.App.Tenant.Notes,
L("Payslips"),
url: "https://ippex-admin.epayslipsecure.co.uk/",
icon: "fa fa-money",
target:"_blank",
requiredPermissionName: AppPermissions.Pages_Tenant_Payrolls
)
I am finding, however, that the target instruction is not being carried forward onto the generated link.
I am using v4.0 MVC/JQuery
4 Answer(s)
-
0
Fixed in v5.0.4: https://github.com/aspnetzero/aspnet-zero-core/issues/625
-
0
Hi,
Thanks for the info. Is there an easy way I can patch this change into my code without having to upgrade the project?
Please bear in mind that I am using ASP.Net Zero MVC
Many thanks.
-
0
Make the change in this commit: https://github.com/aspnetzero/aspnet-zero-core/commit/60613540b371ac5901185800132f1579c6179095
-
0
Hi,
The change you are suggesting is for the Core version. No worries, however, I have made the change (in _Sidebar.cshtml)
Cheers