This question is locked. New answers and comments are not allowed.
I have added a menu to the site.master file and without the action command everything works. As soon as I add the action command in ( or uncomment it ) the menu does not drop down, it just does not work. what am I doing wrong. Yes I have the ScriptRegistrar command in otherwise nothing will work. the program runs but the menu does not appear when selected.
<%
Html.Telerik().Menu()
.Name(
"Menu")
.Items(menu =>
{
menu.Add()
.Text(
"Company")
.Items(item =>
{
item.Add()
.Text(
"Home").Action("Index", "Home");
item.Add()
.Text(
"About").Action("About", "Home");
});
menu.Add()
.Text(
"Personal")
.Enabled(
true)
.Items(item =>
{
item.Add()
// .Action("Index", "Employee")
.Text(
"Employee1")
.Enabled(
true);
item.Add()
// .Action("Index", "Project")
.Text(
"Project1")
.Enabled(
true);
});
menu.Add()
.Text(
"Personal111")
.Enabled(
true)
.Items(item =>
{
item.Add()
// .Action("Index", "Employee")
.Text(
"Employee")
.Enabled(
true);
item.Add()
// .Action("Index", "Project")
.Text(
"Project")
.Enabled(
true);
});
})
.Render();
%>