I have a kendo menu on the _LoginPartial page.
The menu has 'links' to various actions for instance:
@(Html.Kendo().Menu()
.Name("MainMenu")
.Items(items =>
{
items.Add()
.Text("Manage Clients")
.Action("Index", "Clients")
... and so forth
This menu is showing if the account is authenticated.
So that users do not keep clicking on the same menu item after they got into their desired page I want to disable the relevant menu item.
In the above mentioned example after users click 'manage clients' the action ("Index", "Clients") will be disabled; when users get out of that page
('manage clients') that same menu item will be enabled again.
How can I accomplish this?
The menu has 'links' to various actions for instance:
@(Html.Kendo().Menu()
.Name("MainMenu")
.Items(items =>
{
items.Add()
.Text("Manage Clients")
.Action("Index", "Clients")
... and so forth
This menu is showing if the account is authenticated.
So that users do not keep clicking on the same menu item after they got into their desired page I want to disable the relevant menu item.
In the above mentioned example after users click 'manage clients' the action ("Index", "Clients") will be disabled; when users get out of that page
('manage clients') that same menu item will be enabled again.
How can I accomplish this?