This question is locked. New answers and comments are not allowed.
<%: Html.Telerik().Menu().Name("mainMenu").Items(items =>
{
items.Add().Text(Resources.Home).Action(Actions.Index, ControllerNames.Home).LinkHtmlAttributes(new {id = "homeLink"}); }) %>
renders as
<li><a id="homeLink" href="/Home/Index" class="t-link">Home</a></li>.
I need it as
<li><a id="homeLink" href="/Home/Index" class="t-link"><span>Home</span></a></li>.
Will it be possible ?
{
items.Add().Text(Resources.Home).Action(Actions.Index, ControllerNames.Home).LinkHtmlAttributes(new {id = "homeLink"}); }) %>
renders as
<li><a id="homeLink" href="/Home/Index" class="t-link">Home</a></li>.
I need it as
<li><a id="homeLink" href="/Home/Index" class="t-link"><span>Home</span></a></li>.
Will it be possible ?