This question is locked. New answers and comments are not allowed.
Hi all.
Please how do I make asynchronus calls with the telerek menu.
I mean, if i were using normal link helper
@Html.ActionLink("Load Menu", "Menu", "LayOut", new AjaxOptions { UpdateTargetId = "viewArea" })
To make ajax call i'd write it this way
@Ajax.ActionLink("Load Menu", "Menu", "LayOut", new AjaxOptions { UpdateTargetId = "viewArea" })
Now am using the Telerek menu below, how can I convert the Telerek menu to make ajax call rather than refreshing page. Thanks
@(Html.Telerik().Menu()
.Name("menu")
.Items(menu =>
{
menu.Add().Text("Home").Action("Index", "Home");
menu.Add().Text("About").Action("About", "Home");
}))
Please how do I make asynchronus calls with the telerek menu.
I mean, if i were using normal link helper
@Html.ActionLink("Load Menu", "Menu", "LayOut", new AjaxOptions { UpdateTargetId = "viewArea" })
To make ajax call i'd write it this way
@Ajax.ActionLink("Load Menu", "Menu", "LayOut", new AjaxOptions { UpdateTargetId = "viewArea" })
Now am using the Telerek menu below, how can I convert the Telerek menu to make ajax call rather than refreshing page. Thanks
@(Html.Telerik().Menu()
.Name("menu")
.Items(menu =>
{
menu.Add().Text("Home").Action("Index", "Home");
menu.Add().Text("About").Action("About", "Home");
}))