The template that I am inserting into CuteEditor contains the following tag:
<img src="header.jpg">
When I insert the template my tag looks like:
<img src="http://localhost:1301/WebUI/CuteSoft_Client/CuteEditor/Dialogs/header.jpg">
I want this URL to be:
<img src="http://my.website.com/a/1234/header.jpg">
Below is current code. My Page_Load code is:
txtMessage.BaseHref =
ConfigurationManager.AppSettings["WebUIURL"] + "a/" + Session["AccountID"].ToString();
txtMessage.RemoveServerNamesFromUrl = false;
txtMessage.UseRelativeLinks = false;
txtMessage.SetSecurityGalleryPath(ConfigurationManager.AppSettings["WebUIURL"] + "a/" + Session["AccountID"].ToString());
My web.config contains:
<
appSettings>
<add key="WebUIURL" value="http://my.website.com/"/>
</appSettings>
I am using Visual Studio 2005 with CuteEditor.NET. I have been fighting this for days now and can not figure it out. Thanks in advance for your help.