Editing has been removed because single quotes are treated as a character literal, therefore causing "too many characters in a literal" error. The most likely reason is still a typo, IMHO.
ORIGINAL MAIL (UrlHelper class still stands):
Url.Content (): Url here is a helper method, a bit like the Html or Ajax helpers.
In the code, I believe its class is:
System.Web.Mvc.UrlHelper
That is, the namespace is System.Web.Mvc.
So itβs very strange that you cannot just use it if, that is, you really use the specification described in detail above.
awrigley
source share