[Display(
Name = "Link",
Description = "",
GroupName = TabNames.Content,
Order = 30)]
public virtual Url Link { get; set; }
This may be an external url, or it may link to a page. I want to render the href in the view, but for pages, i get the internal url out, and no url rewriting occurs on mvc to convert this to a rewritten url.
I have a property on my page model :
This may be an external url, or it may link to a page. I want to render the href in the view, but for pages, i get the internal url out, and no url rewriting occurs on mvc to convert this to a rewritten url.
how do i convert this to a nice url?