﻿<?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 - WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</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>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Thu, 28 Oct 2010 10:18:32 GMT</pubDate><dc:creator>JNguimb</dc:creator><description>&lt;p&gt;Never mind.  I got this working beautifully with WebFlyPostBackManager.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Jean&lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Wed, 27 Oct 2010 12:54:43 GMT</pubDate><dc:creator>JNguimb</dc:creator><description>&lt;p&gt;Thanks.  I like this latest version even better.  &lt;/p&gt;
&lt;p&gt;I need to use this snippet in a scenario that requires loading new documents in the editor on the fly, with a click on something.  This works perfectly using WebButton, &lt;span style="text-decoration:underline;"&gt;but&amp;nbsp;in FullPostBack&lt;/span&gt;.  Is there a way, using any controls (WebButton, WebToolBar, or WebListBox), to do this in FlyPostBack as well? &lt;/p&gt;
&lt;p&gt;Using one of your provided mailmerge samples, I have tried the following, with no success:&lt;/p&gt;
&lt;p&gt;C#&lt;/p&gt;
&lt;p&gt;    protected void WebButton1_Clicked(object sender, ISNet.WebUI.WebDesktop.WebButtonClickedEventArgs e)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;       if (WebButton1.IsFlyPostBack)&lt;/p&gt;
&lt;p&gt;       {&lt;/p&gt;
&lt;p&gt;            WebTextEditor.LoadContentFromFile(server.MapPath(./SampleHtml/Invitation.html"), true);&lt;/p&gt;
&lt;p&gt;            WebButton1.ClientAction.RefreshModifiedControls();&lt;/p&gt;
&lt;p&gt;      }&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;ASPX&lt;/p&gt;
&lt;p&gt;&amp;lt;ISWebDesktop:Button ID="WebButton1" runat="server" height="20px" Text="Web Button" Width="100px" AutoPostback="true" OnClicked="WebButton1_Clicked"&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;ISWebDesktop:WebButton&amp;gt;&lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Tue, 26 Oct 2010 21:50:47 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Glad it could help solve your issue. However our developer also has an alternative snippet without using nested timeout. Here is the alternative snippet:&lt;/p&gt;&lt;pre&gt;function WebTextEditor_OnInitialize(controlId) {&lt;br /&gt;    var WebTextEditor = ISGetObject(controlId);&lt;br /&gt;    WebTextEditor.SwitchToPreview();&lt;br /&gt;&lt;br /&gt;    setTimeout(function () {&lt;br /&gt;        var previewText = WebTextEditor.GetPreviewIFrameElement().contentWindow.document.body.innerHTML;&lt;br /&gt;&lt;br /&gt;        var el = WebTextEditor.GetDesignViewTabElement();&lt;br /&gt;        el.attributes["isactive"].value = "false";&lt;br /&gt;&lt;br /&gt;        WebTextEditor.SwitchToDesignView(true);&lt;br /&gt;        WebTextEditor.SetValue(previewText);&lt;br /&gt;&lt;br /&gt;        WebTextEditor.GetPreviewTabElement().style.display = "none";&lt;br /&gt;&lt;br /&gt;        var hiddenToolBar = ["cmdInsertLabel", "cmdPreview", "cmdSendMail", "cmdSeparator4", "cmdSeparator5"];&lt;br /&gt;&lt;br /&gt;        for (var i = 0; i &amp;lt; hiddenToolBar.length; i&amp;#43;&amp;#43;) {&lt;br /&gt;            var toolbarElem = document.getElementById(WebTextEditor.ToolBar[1].Name &amp;#43; "_" &amp;#43; hiddenToolBar[i]);&lt;br /&gt;            toolbarElem.style.display = "none";&lt;br /&gt;        }&lt;br /&gt;    }, 500);&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Tue, 26 Oct 2010 10:04:53 GMT</pubDate><dc:creator>JNguimb</dc:creator><description>&lt;p&gt;Thanks. Works beautifully.&lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Tue, 26 Oct 2010 05:15:27 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Re-testing the workaround in the latest build of WebTextEditor, I encounter the same issue. Based on on my discussion with the developer, the snippet must be modified to work in the latest build of WebTextEditor, here is the modified snippet:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;function WebTextEditor_OnInitialize(controlId) {&lt;br /&gt;    var WebTextEditor = ISGetObject(controlId);&lt;br /&gt;&lt;br /&gt;    setTimeout(function () {&lt;br /&gt;        WebTextEditor.SwitchToPreview();&lt;br /&gt;&lt;br /&gt;        setTimeout(function () {&lt;br /&gt;            var previewText = WebTextEditor.GetPreviewIFrameElement().contentWindow.document.body.innerHTML;&lt;br /&gt;&lt;br /&gt;            WebTextEditor.SwitchToDesignView(true);&lt;br /&gt;            WebTextEditor.SetValue(previewText);&lt;br /&gt;&lt;br /&gt;            WebTextEditor.GetPreviewTabElement().style.display = "none";&lt;br /&gt;&lt;br /&gt;            var hiddenToolBar = ["cmdInsertLabel", "cmdPreview", "cmdSendMail", "cmdSeparator4", "cmdSeparator5"];&lt;br /&gt;&lt;br /&gt;            for (var i = 0; i &amp;lt; hiddenToolBar.length; i&amp;#43;&amp;#43;) {&lt;br /&gt;                var toolbarElem = document.getElementById(WebTextEditor.ToolBar[1].Name &amp;#43; "_" &amp;#43; hiddenToolBar[i]);&lt;br /&gt;                toolbarElem.style.display = "none";&lt;br /&gt;            }&lt;br /&gt;        }, 500);&lt;br /&gt;&lt;br /&gt;    },500);&lt;br /&gt;}&lt;/pre&gt;&lt;p&gt;You will need to set another delay before invoking the SwitchToPreview method.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Sun, 24 Oct 2010 21:04:51 GMT</pubDate><dc:creator>JNguimb</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I tried this code on both provided mailmerge samples; but it does not seem to work as intended.  Only the preview tab in the bottom bar of the editor disappears (&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color: #ffff00"&gt;WebTextEditor.GetPreviewTabElement().style.display = "none";&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;).  Nothing else happens: the merged data does not transfer to the design view, and the editor does not switch from preview to design view; the mail merge toolbar remains visible; the design view toolbars do not show. I initialized as follows: &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #800000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #800000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #800000; font-size: 13px"&gt;ClientSideEvents&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #ff0000; font-size: 13px"&gt;OnInitialize&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;="WebTextEditor_OnInitialize"&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;&lt;span style="font-family: consolas; color: #0000ff; font-size: 13px"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
Could you please check this code, or send me the sample in which you tested successfully?

&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Jean  &lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Mon, 26 Jul 2010 02:16:56 GMT</pubDate><dc:creator>Glayaar</dc:creator><description>&lt;p&gt;Unfortunately, our WebTextEditor could only save to or open HTML file for now.&lt;/p&gt;&lt;p&gt;Showing merged template document is achievable using a workaround, normally you will need to display the preview section in order to display the merge document. Here is the snippet, you will need to implement the Initialize client side event handler:&lt;/p&gt;&lt;pre&gt;function WebTextEditor_OnInitialize(controlId)&lt;br /&gt;{&lt;br /&gt;    var WebTextEditor = ISGetObject(controlId);&lt;br /&gt;    WebTextEditor.SwitchToPreview();&lt;br /&gt;&lt;br /&gt;    setTimeout(function ()&lt;br /&gt;    {&lt;br /&gt;        var previewText = WebTextEditor.GetPreviewIFrameElement().contentWindow.document.body.innerHTML;&lt;br /&gt;&lt;br /&gt;        WebTextEditor.SwitchToDesignView();&lt;br /&gt;        WebTextEditor.SetValue(previewText);&lt;br /&gt;&lt;br /&gt;        WebTextEditor.GetPreviewTabElement().style.display = "none";&lt;br /&gt;               &lt;br /&gt;        var hiddenToolBar = ["cmdInsertLabel", "cmdPreview", "cmdSendMail", "cmdSeparator4", "cmdSeparator5"];&lt;br /&gt;&lt;br /&gt;        for (var i = 0; i &amp;lt; hiddenToolBar.length; i&amp;#43;&amp;#43;)&lt;br /&gt;        {&lt;br /&gt;            var toolbarElem = document.getElementById(WebTextEditor.ToolBar[1].Name &amp;#43; "_" &amp;#43; hiddenToolBar[i]);&lt;br /&gt;            toolbarElem.style.display = "none";&lt;br /&gt;        }&lt;br /&gt;    }, 150);&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;The snippet will move the preview text from the preview to design view. Afterward it will hide the mail merge toolbar and preview tab. I am using the MailMerge_CustomCollection provided sample in order to test my snippet &lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebTextEditor Evaluation Question</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/WebTextEditor-Evaluation-Question/</link><pubDate>Fri, 23 Jul 2010 10:36:26 GMT</pubDate><dc:creator>rlcraven</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am evaluating the WebTextEditor and would like to know if this scenario can be accomplished with it.&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;There will be some RTF files on the web server, with merge fields, to serve as templates.&amp;nbsp; Admin users could open these using the WebTextEditor, make changes, and save to the existing&amp;nbsp;folder.&lt;/li&gt;&lt;li&gt;Other users would fill out a form, the form data would be stored in a database.&lt;/li&gt;&lt;li&gt;The form data would be merged with the RTF template and the resulting new&amp;nbsp;RTF file is stored in a new folder on the web server that&amp;nbsp;is specific to the user.&lt;/li&gt;&lt;li&gt;The RTF created in step 3 is converted to a PDF file in the same folder.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;If possible steps 3 and 4 would be done programatically by the WebTextEditor and the process would be invisible to the user.  They would complete the form in step 2, click a button, and steps 3 and 4 would take place in the background.  &lt;/p&gt;
&lt;p&gt;Thnank you very much,&lt;/p&gt;
&lt;p&gt;Randy&lt;/p&gt;</description></item></channel></rss>