search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi,
Just a small message to say I'm still looking for a solution for this.
Thanks.
For info, I just fixed my bug. My helper was returning a XhtmlString and apparently for the UrlHelper to properly do its jobs you need to return a MvcHtmlString.
Took me two months but it's fixed :D
Hi,
I'm working with EPiServer since september now and I'm using more advanced features now but I'm stuck with something and I'd really love if someone can help me.
I have made a custom HTML Helper to use with Razor MVC to be able to use display options without having to create a custom ContentAreaRendered and everything that seems to go with it but any links I use in my view are internal ugly url (aspx stuff) and if I have any method that are supposed to transform this ugly URL into a friendly URL it does not work.
Here is part of my block model:
Here is my Helper:
Here is the page view where I call the actual helper:
And this is what I have in my block partial view:
You see I have an image that is a ContentReference and a Link that is can be either to an internal page or an external URL. And I get only ugly URL. I'm using the same