The Generic Content control works with dynamic links that are resolved depending on the host. Generally it is better no to change the dynamic links ( links created from items from Images and Documents module). There is a method that you can use to resolve the links to absolute url
(string html, GetItemUrl itemUrl, ResolveUrl resolveUrl, bool preserveOriginalValue, bool resolveAsAbsoluteUrl)
"html"-Source HTML text.
"itemUrl" -Delegate for processing item information. Must return the item URL.
resolveUrl" -Delegate for processing unresolved URL. Must return resolved URL.
preserveOriginalValue" - If true the original value of altered attributes is preserved in additional attribute named sfref.
resolveAsAbsoluteUrl" - If true, URLs are resolved as absolute paths, including protocol and domain name.
To resolve the url to absolute you have to override RenderTextContent method of GenericContent control.
Here is a sample code
.SharedContent.Status == ContentStatus.Published
text = (
text = LinkParser.ResolveLinks(text, ContentManager.ResolveItemUrl,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items