This question is locked. New answers and comments are not allowed.
Hi guys.. Im with problem here,
Is there any issue with url in model bind.
Look my code
And my url isnt getting categoria.TXT_URL, at preview only show me localhost/NomeCategoria
But if i change categoria.TXT_URL to a fixed text like "EDIT"
The menu builds the url correctly. localhost/NomeCategoria/Edit
Any way to solve this or its a bug???
Is there any issue with url in model bind.
Look my code
@(Html.Telerik().Menu()
.Name("Menu")
.BindTo(Model,(item, categoria) =>
{
item.Text = categoria.TXT_NomeCategoria;
item.Url = Url.Action(categoria.TXT_Url, categoria.TXT_NomeCategoria);
}
)
)
And my url isnt getting categoria.TXT_URL, at preview only show me localhost/NomeCategoria
But if i change categoria.TXT_URL to a fixed text like "EDIT"
item.Url = Url.Action("EDIT", categoria.TXT_NomeCategoria);
The menu builds the url correctly. localhost/NomeCategoria/Edit
Any way to solve this or its a bug???