﻿<?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 - Load from File</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/Load-from-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>Load from File</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/Load-from-File/</link><pubDate>Thu, 12 Nov 2009 05:12:29 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Glad to hear that the sample helps.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I enclosed the modified version of my sample so that it can be saved to database (Editor.mdb file).&lt;br /&gt;WebTextEditor1.RootTextEditor.Content not returns null (empty) value. Please modify my sample so that it replicates the issue to be investigated further.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;For your information, I use WebTextEditor 1.0 build 6 and WebUI.NET Framework 3.0 build 705.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load from File</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/Load-from-File/</link><pubDate>Tue, 03 Nov 2009 01:31:30 GMT</pubDate><dc:creator>JNguimb</dc:creator><description>&lt;p&gt;Yudi;&lt;/p&gt;
&lt;p&gt;The client side method you propose here works great in loading an HTML file in WebTextEditor and would be exactly what I need for my scenario.  However, this method does not insert the HTML in RootTextEditor.  So I cannot save the loaded HTML document to a database using XXXXXX.RootTextEditor.Content, because the content is null (empty).  &lt;/p&gt;
&lt;p&gt;Is it possible to save an HTML document loaded in WebTextEditor using this method to a database?&lt;/p&gt;
&lt;p&gt;Jean &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>Load from File</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/Load-from-File/</link><pubDate>Thu, 24 Sep 2009 04:28:23 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Currently we don’t provide client side method in order to import a document from file with client side event. Loading content from HTML file is only possible to be done in server side. For more detail about this information, please check the article at &lt;a href="http://intersoftpt.wordpress.com/2009/07/25/saving-and-loading-html-file-in-webtexteditor/"&gt;here&lt;/a&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;You need to implement your own client side function that will import a document from file. I enclosed one simple sample that shows how to import html file into WebTextEditor with client side event. In the sample, XMLHttpRequest object is used to update the page with new data, the imported html file, without reloading the page. The imported file,"Breakthrough Editing Experience.html",is available in the WebTextEditorSamples project.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui', 'sans-serif'; color: #1f497d; font-size: 9pt"&gt;Please check the sample and let me know whether this helps or not.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Load from File</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/Load-from-File/</link><pubDate>Fri, 18 Sep 2009 08:27:36 GMT</pubDate><dc:creator>Michael</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have set EnableDocumentImport="True". &lt;/p&gt;
&lt;p&gt;In Documentation I found following code snippet:&lt;/p&gt;&lt;pre&gt;    &amp;lt;script language="javascript" type="text/javascript" id="wteUserDescription"&amp;gt;
		&amp;lt;!--
        function wteUserDescription_OnToolBarClick(controlId, command, commandSection) {

            var rte = ISGetObject(controlId);
            if (command.Name == "cmdImport")
                alert("implement document import");
        }
		--&amp;gt;
    &amp;lt;/script&amp;gt;&lt;/pre&gt;
&lt;p&gt;Now I want import a document from file. &lt;/p&gt;
&lt;p&gt;How can I do this with Client Side event?&lt;/p&gt;
&lt;p&gt;Thanks for help...&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;</description></item></channel></rss>