﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebTextEditor - relative path problem while loading the content from html file</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/relative-path-problem-while-loading-the-content-from-html-file/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>relative path problem while loading the content from html file</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/relative-path-problem-while-loading-the-content-from-html-file/</link><pubDate>Mon, 26 Apr 2010 11:49:37 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Unfortunately, LoadContentFromFile emthod will not be able to modify the image path.&lt;/p&gt;&lt;p&gt;One suggestion for such scenario, would be to modify the image path programatically, most likely using regular expression, and assign the modified file content to the WebTextEditor using &lt;em&gt;RootTextEditor.Content&lt;/em&gt; property.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>relative path problem while loading the content from html file</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/relative-path-problem-while-loading-the-content-from-html-file/</link><pubDate>Mon, 26 Apr 2010 08:44:29 GMT</pubDate><dc:creator>ismail</dc:creator><description>&lt;p&gt;&lt;span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'times new roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"&gt;&lt;span style="font-family: 'lucida sans unicode'; font-size: 13px;" class="Apple-style-span"&gt;&lt;p style="margin-top: 10px; margin-bottom: 10px;"&gt;hi,&lt;/p&gt;&lt;p style="margin-top: 10px; margin-bottom: 10px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-top: 10px; margin-bottom: 10px;"&gt;here i have one strange problem. i am initializing the webtexteditor with the following code&lt;/p&gt;&lt;p style="margin-top: 10px; margin-bottom: 10px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;WebTextEditor1.LoadContentFromFile(Server.MapPath((@"~//newsletter/" &amp;#43; userfolder &amp;#43; "/" &amp;#43; filepath &amp;#43; "/newsletter.html")), true);&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;here the texteditor displays the html files in it, but without images. Because all images are inside the "image" folder which is in the smae path as "newsletter.html" file. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The aspx file which uses the webtexteditor control is in root directory of project.&lt;/p&gt;
&lt;p&gt;is there any way to set its relative path while using LoadContentFromFile method.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I hope you undertand the problem.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Please let me know, if the doubt is still unclear to you.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;thanks and regards&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;ca&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'times new roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;" class="Apple-style-span"&gt;&lt;span style="font-family: 'lucida sans unicode'; font-size: 13px;" class="Apple-style-span" /&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>