This is a migrated thread and some comments may be shown as answers.

[Solved] Absolute URL in RadEditor Prometheus

1 Answer 177 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 05 Dec 2007, 05:57 PM
I have an html generator page where a customer will create an html page in the RadEditor for prometheus.  When they click on a submit button, I save the file on the server and also force them to download the file. This file is then used to send out to customers of theirs. The problem is that the paths are all absolute, but without the hostname. I need the image paths to come up with http://theirdomain[/.../.../image.gif]. The bracketed section of this link is all that they get, therefore the links will not work when they send out the email. I need the url to the image to be an absolute one with thier http domain in it. Is there a way to force the tool to add this?

If you need to know, I use the streamwriter to write this out to a file. I do this because they want the  html and body tags added into the html message. I write this tags out before I write out the content of the editor, then I write out the closing tags for body and html.

Any ideas on how to get the http and hostname in the image url?

Thanks,
Patrick

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 06 Dec 2007, 02:11 PM
Hi Patrick,

If I understand your correct you want to convert the relative links to absolute. If this is your scenario, then please try the solution provided in the following forum thread: StripAbsoluteImagesPaths?.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Patrick
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or