What's wrong with ... (migrating 4.30 -> 4.60)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 ano atrás
Hi,

It was working in 4.30 but it doesn't compile anymore

<a href="@Url.RouteUrl("Topic", new {SeName = Html.GetTopicSeName("shippinginfo") })">

var HomeUrl = Url.RouteUrl("HomePage", new { },  webHelper.CurrentRequestProtocol).ToLowerInvariant();
1 ano atrás
What error message are you getting?
1 ano atrás
There is a new form for routing URL's

<a href="@(Url.RouteUrl<Topic>(new { SeName = topic.SeName }))">@topic.Name</a>

See Views\Shared\Components\Footer\Default.cshtml
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.