Hi,
I am using Url.Action in my Razor View like below. However the url returned is always empty. Is this the correct way to link to an RenderMvcController action method in the razor view? Or is there an umbraco helper method?
@inherits Umbraco.Web.Mvc.UmbracoViewPage<MyCustomViewModel>
....
@
{
var url = Url.Action("SearchAction", "SearchController", new RouteValueDictionary(new { pageNumber = Model.PageNumber}))
}
Thanks,
Dan
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/39230-umbraco-4115-eviqualent-of-urlaction