<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Intersoft Solutions Corporate Blog &#187; WebTextEditor</title>
	<atom:link href="http://blog.intersoftsolutions.com/tag/webtexteditor/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.intersoftsolutions.com</link>
	<description>All about development productivity – ASP.NET, Silverlight, WPF, iOS, Android, Windows Phone, Windows 8</description>
	<lastBuildDate>Sat, 21 Apr 2018 06:57:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.33</generator>
	<item>
		<title>The All-new WebUI. Experience It Yourself.</title>
		<link>http://blog.intersoftsolutions.com/2016/03/the-all-new-webui-experience-it-yourself/</link>
		<comments>http://blog.intersoftsolutions.com/2016/03/the-all-new-webui-experience-it-yourself/#comments</comments>
		<pubDate>Thu, 03 Mar 2016 04:26:48 +0000</pubDate>
		<dc:creator><![CDATA[Nicholas Lie]]></dc:creator>
				<category><![CDATA[2016 R1]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[WebUI]]></category>
		<category><![CDATA[ASP.NET MVC]]></category>
		<category><![CDATA[New Releases]]></category>
		<category><![CDATA[WebCombo]]></category>
		<category><![CDATA[WebDesktop]]></category>
		<category><![CDATA[WebEssentials]]></category>
		<category><![CDATA[WebGrid]]></category>
		<category><![CDATA[WebInput]]></category>
		<category><![CDATA[WebScheduler]]></category>
		<category><![CDATA[WebTextEditor]]></category>
		<category><![CDATA[WebTreeView]]></category>
		<category><![CDATA[WebUI Studio]]></category>
		<category><![CDATA[WebUI Studio ASP.NET]]></category>

		<guid isPermaLink="false">http://blog.intersoftsolutions.com/?p=5685</guid>
		<description><![CDATA[Our months of hard work finally paid off. It&#8217;s finally here. With excellent craftsmanship and fine attention to detail, we&#8217;re very proud to announce the all-new and powerful WebUI 2016. The entire WebUI lineup consisting of highly-advanced 40+ web components now finally receives a truly deserved facelift. [...]]]></description>
				<content:encoded><![CDATA[<img width="604" height="270" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-01-at-3.22.29-PM-604x270.png" class="attachment-post-thumbnail wp-post-image" alt="Screen Shot 2016-03-01 at 3.22.29 PM" style="float:right; margin:0 0 10px 10px;" /><p>Our months of hard work finally paid off. It&#8217;s finally here. With excellent craftsmanship and fine attention to detail, we&#8217;re very proud to announce the all-new and powerful WebUI 2016. The entire WebUI lineup consisting of highly-advanced 40+ web components now finally receives a truly deserved facelift.</p>
<p><img class="alignnone size-full wp-image-5706" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-01-at-3.22.29-PM.png" alt="Screen Shot 2016-03-01 at 3.22.29 PM.png" width="1768" height="1192" /></p>
<h1>Accessing the New WebUI Live Experience</h1>
<p>For so long, customers have enjoyed our live WebUI demos through <a href="http://live.intersoftsolutions.com" target="_blank">http://live.intersoftsolutions.com</a>. While this experience is adequate, being redirected to another site for a hands-on experience just won&#8217;t cut it anymore. So we decided to integrate the new samples right our website. That&#8217;s right, now you can experience the new WebUI samples with the gorgeous unified modern theme, right from our website.</p>
<p><img class="alignnone size-full wp-image-5726" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-9.56.28-AM.png" alt="Screen Shot 2016-03-02 at 9.56.28 AM.png" width="1522" height="880" /></p>
<p>Don&#8217;t worry, we&#8217;ve put these buttons everywhere, so you can easily access them from various pages in WebUI, although it is very much recommended to access them from <a href="http://www.intersoftsolutions.com/WebUI" target="_blank">/WebUI</a>. Should you miss this experience and open the old live samples, you&#8217;ll be greeted with the following dialog box.</p>
<p><img class="alignnone size-full wp-image-5732" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-10.07.46-AM.png" alt="Screen Shot 2016-03-02 at 10.07.46 AM.png" width="1604" height="828" /></p>
<p>Without further ado, let&#8217;s get right onto the new WebUI Live Experience.</p>
<h1>The Home Screen</h1>
<p>Right when you launch the new Live Experience, you&#8217;ll be greeted with a nice and modern blurred background, showcasing the flagship products of WebUI. This experience works best on modern desktop browsers supporting HTML5 and CSS3.</p>
<p><img class="alignnone size-full wp-image-5741" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-10.27.31-AM.png" alt="Screen Shot 2016-03-02 at 10.27.31 AM.png" width="2430" height="1596" /></p>
<p>If you click on products such as WebDesktop and WebEssentials, you can also find a grid of sub-components in them.</p>
<p><img class="alignnone size-full wp-image-5755" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-10.36.51-AM.png" alt="Screen Shot 2016-03-02 at 10.36.51 AM.png" width="1776" height="1410" /></p>
<h1>WebGrid</h1>
<p>When you launch WebGrid for the first time, you&#8217;ll be greeted with the First Experience.</p>
<p><img class="alignnone size-full wp-image-5758" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-10.33.25-AM.png" alt="Screen Shot 2016-03-02 at 10.33.25 AM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">This first experience sample demonstrates many of the top UI features available in WebGrid, combined with some unique features such as column freezing, filter suggestion and more.</span></p>
<p class="p1"><span class="s1">Some of the top features demonstrated in this sample are:</span></p>
<ul class="ul1">
<li class="li1"><span class="s1">Sleek look and feel with the all-new &#8220;Elegant&#8221; Default Style. The Default Style feature significantly reduces page output size by eliminating in-line styles. Try to view source and notice there are no styles generated in the page level.</span></li>
<li class="li1"><span class="s1">Improved user interface with a new set of fresh icons, background images and UI elements.</span></li>
<li class="li1"><span class="s1">New context menu engine. Try to right click on the Grid area to experience the new context menu system.</span></li>
<li class="li1"><span class="s1">LiveFreeze™ column freezing feature. The only column freezing implementation that perfectly simulates Excel® freezing behavior.</span></li>
<li class="li1"><span class="s1">Automatic Filter Suggestion. Try to right click on a cell (eg, &#8220;Owner&#8221;), then choose one of the available filter options. The suggested filter options are based on selected cell&#8217;s data type and value.</span></li>
<li class="li1"><span class="s1">Filter Status Indicator. When one or more columns are filtered, notice that the filter indicator status is changed to &#8220;Filtered&#8221;. This indicator helps end users to understand the current state of filters without has to display filter bar. You can click on the filter status indicator to toggle the filter state.</span></li>
<li class="li1"><span class="s1">SmartWebResources™. This innovative technology enable this sample to run without dependencies to &#8220;physical&#8221; client resources. All client resources such as scripts and images are retrieved directly from resource assembly.</span></li>
<li class="li2"><span class="s3">Declarative datasource control binding. Notice that there are no codes required for the data binding operation (see C# and VB tab).</span></li>
</ul>
<h1>Samples Navigation Experience</h1>
<p>To navigate between samples, you can easily use the arrows on the left and right-hand side of the screen, or use the menu button on the top-left corner of the screen. This will open the Menu panel and you can easily jump between samples.</p>
<p><img class="alignnone size-full wp-image-5776" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-11.13.01-AM.png" alt="Screen Shot 2016-03-02 at 11.13.01 AM.png" width="1452" height="886" /></p>
<p>If you wish to go back the controls grid, simply click the Home button. Should you encounter any problems or hassles with the samples, feel free to chat with us directly using the <a href="http://www.intersoftsolutions.com/#livechat">live messenger</a> on the bottom-right corner.</p>
<h1>WebCombo</h1>
<p>This the First Experience when you launch the WebCombo sample.</p>
<p><img class="alignnone size-full wp-image-5785" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-11.16.58-AM.png" alt="Screen Shot 2016-03-02 at 11.16.58 AM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">This sample demonstrates the unified modern theme of WebCombo and many of its key features such as SmartWebResources™ and declarative datasource control binding.</span></p>
<p class="p2"><span class="s2">Notice that there are no code required for the data binding operation (see C# and VB tab). Try experimenting with the WebCombo controls in this page to see some unique features in action. For instance, Reports-To is using multiple selection feature combined with image column type.</span></p>
<h1 class="p2">WebInput</h1>
<p>This is the First Experience when you launch the WebInput sample.</p>
<p><img class="alignnone size-full wp-image-5790" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-11.18.31-AM.png" alt="Screen Shot 2016-03-02 at 11.18.31 AM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">This sample demonstrates the unified modern theme of WebInput and its key features.</span></p>
<p class="p1"><span class="s1">Some of the new features demonstrated in this sample are:</span></p>
<ul class="ul1">
<li class="li1"><span class="s1">Sleek look and feel with the all-new &#8220;Elegant&#8221; Default Style. The Default Style feature significantly reduces page output size by eliminating in-line styles. Try to view source and notice there are no styles generated in the page level.</span></li>
<li class="li1"><span class="s1">Ordinary input text and multiline input text features, like demonstrated in FirstName, LastName, Address, City, Country fields.</span></li>
<li class="li1"><span class="s1">Display and edit format features, like demonstrated in Birth Date field.</span></li>
<li class="li1"><span class="s1">Other edit format feature, like demonstrated in First Name, Last Name, Phone, Extension fields.</span></li>
</ul>
<p class="p2"><span class="s3">This sample also demonstrate integration between WebInput and .NET Validator Control such as RequiredValidator and CompareValidator.</span></p>
<h1 class="p2">WebScheduler</h1>
<p>This is the First Experience when you launch the WebScheduler sample.</p>
<p><img class="alignnone size-full wp-image-5793" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-11.19.33-AM.png" alt="Screen Shot 2016-03-02 at 11.19.33 AM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">This sample is designed to model a car-rental tracking scenario – demonstrating how WebScheduler performs in real-world enterprise application. Bound to over 3000 events, WebScheduler delivers responsive user experiences regardless of the data size.</span></p>
<p class="p1"><span class="s1">The powerful JSON technology and smart client paging rendering significantly improved the overall WebScheduler performance to a new level not possible before. This sample combines both the ViewPort™ and EventPageSize™ Client Paging rendering enabling WebScheduler to load in a flash.</span></p>
<p class="p2"><span class="s2">Try to play around with the scheduler. Use the upper right vehicle locator for a quick jump. Click on the visual indicator on the resources area to populate the car information.</span></p>
<h1 class="p2">WebDesktop</h1>
<p>This is the First Experience when you launch the WebDesktop sample.</p>
<p><img class="alignnone size-full wp-image-5819" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-1.10.00-PM.png" alt="Screen Shot 2016-03-02 at 1.10.00 PM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">This reference sample demonstrates the beautiful modern theme and many groundbreaking features in WebDesktopManager such as shortcuts and comprehensive window management. It also showcases the integration of various WebDesktop components to create full-fledge and immersive web applications, which include WebPaneManager, WebToolBar, WebTab, WebDialogBox, WebNotification and more. Try to double click each icon to see the WebDesktop components in action.</span></p>
<h1>WebEssentials</h1>
<p>This is the First Experience when you launch the WebEssentials sample.</p>
<p><img class="alignnone size-full wp-image-5820" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-1.10.44-PM.png" alt="Screen Shot 2016-03-02 at 1.10.44 PM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">This reference sample perfectly demonstrates WebEssentials component suite which comprised of 8 innovative controls, ranging from accordion, calendar, slider, to rating. WebEssentials enables you to create interactive and visually engaging modern web applications.</span></p>
<p class="p1"><span class="s1">In this Online Resume scenario, WebAccordion is used as the main container, dividing this lengthy form into three sections. WebProgressBar is used to indicate the section completion process. The bar will be filled as users click on next. WebCalendar is used for date input and WebSlider for selecting a specific range. WebSlidingMenu is used on the right FAQ section. Click on a question and the answer is shown in a swift and smooth sliding animation.</span></p>
<p class="p2"><span class="s2">Additionally, WebFlyPostBackManager is used to populate the section’s content on demand as users click the next button. In Section 1, WebFileUploader is used for image uploading, demonstrating its seamless AJAX upload experience.</span></p>
<h1>WebTextEditor</h1>
<p>This is the First Experience when you launch the WebTextEditor sample.</p>
<p><img class="alignnone size-full wp-image-5801" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-11.27.45-AM.png" alt="Screen Shot 2016-03-02 at 11.27.45 AM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">WebTextEditor is the industry&#8217;s first text editor that integrates intuitive writing tools, in-line spelling checker, and sophisticated uploading capability in a single interface – enabling you to rapidly build rich CMS application that delivers breakthrough, unique editing experience to your end users.</span></p>
<p class="p2"><span class="s2">This sample demonstrates tight integration with Desktop Manager, Spell Checker, File Uploader and many UI components from WebDesktop to produce sophisticated, state-of-the-art CMS application that ultimately feels like a desktop word processing application.</span></p>
<h1 class="p2">WebTreeView</h1>
<p>This is the First Experience when you launch the WebTreeView sample.</p>
<p><img class="alignnone size-full wp-image-5805" src="http://blog.intersoftsolutions.com/wp-content/uploads/2016/03/Screen-Shot-2016-03-02-at-11.29.37-AM.png" alt="Screen Shot 2016-03-02 at 11.29.37 AM.png" width="2828" height="1842" /></p>
<p class="p1"><span class="s1">WebTreeView provides rich features that lets you easily create hierarchical data presentation. This powerful control incorporates numerous unique features such as:</span></p>
<ul class="ul1">
<li class="li1"><span class="s1">Data Binding</span></li>
<li class="li1"><span class="s1">Tristate checkbox</span></li>
<li class="li1"><span class="s1">Add, edit, and delete node</span></li>
<li class="li1"><span class="s1">Drag and Drop node(s)</span></li>
<li class="li1"><span class="s1">Keyboard Navigation</span></li>
<li class="li1"><span class="s1">Load On Demand</span></li>
<li class="li1"><span class="s1">Layout Manager and Structure Manager</span></li>
<li class="li1"><span class="s1">Auto Postback</span></li>
<li class="li1"><span class="s1">Flexible and highly customizable to meet your design needs</span></li>
<li class="li1"><span class="s1">client-side API &#8211; WebTreeView Designer</span></li>
</ul>
<p class="p2"><span class="s3">The above sample utilizes Enable Tristate CheckBox and Keyboard Navigation features.</span></p>
<h1 class="p2">Explore the Samples</h1>
<p class="p2">We hope that you liked our new samples. To start taking advantage of our best WebUI release yet, feel free to download the new Premier Studio 2016 <a href="http://www.intersoftsolutions.com/RequestTrial" target="_blank">here</a>. Happy exploring!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2016/03/the-all-new-webui-experience-it-yourself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Properties, Events, and Client-side API added in WebTextEditor</title>
		<link>http://blog.intersoftsolutions.com/2009/10/new-properties-events-and-client-side-api-added-in-webtexteditor/</link>
		<comments>http://blog.intersoftsolutions.com/2009/10/new-properties-events-and-client-side-api-added-in-webtexteditor/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 08:16:42 +0000</pubDate>
		<dc:creator><![CDATA[erikaa]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Client side API]]></category>
		<category><![CDATA[client-side event]]></category>
		<category><![CDATA[Property]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=977</guid>
		<description><![CDATA[As published previously, we have released WebUI Studio 2009 R1 SP1 which includes many enhancements, especially to WebTextEditor and WebScheduler 2. Specifically in WebTextEditor, some new properties, client-side events, and client-side API are included. New Properties ToolBarSettings &#62;&#62; SerializationMode, determines the serialization mode used for [...]]]></description>
				<content:encoded><![CDATA[<p>As <a title="published" href="http://intersoftpt.wordpress.com/2009/09/01/intersoft-webui-studio-2009-sp1-is-here/" target="_blank">published </a>previously, we have released WebUI Studio 2009 R1 SP1 which includes many enhancements, especially to WebTextEditor and WebScheduler 2. Specifically in WebTextEditor, some new properties, client-side events, and client-side API are included.</p>
<p><strong>New Properties</strong></p>
<ul>
<li><em>ToolBarSettings &gt;&gt; SerializationMode</em>, determines the serialization mode used for toolbars definition. When set to Client, the page output will be much reduced. Read the complete explanation <a href="http://intersoftpt.wordpress.com/2009/09/03/reduce-page-output-in-webtexteditor/">here</a>. </li>
<li><em>ToolBarSettings &gt;&gt; SynchronizeCommandLatency</em>, determines the latency used to synchronize the toolbar commands with the format of selected content. When users navigate through contents that has different format, the toolbar commands will be synchronized to the selected content. This property determines the latency used before the synchronization action is invoked.</li>
<li><em>PreventScriptInjection</em>, determines whether WebTextEditor should detect whether the content contains script injection. If this property is enabled, all script tags and its content will be removed when the content is saved.</li>
<li><em>ShowCallOutOnMediaInsert</em>, determines whether callout should be automatically displayed when a media is inserted as editor content.</li>
<li><em>ShowMediaActionOnMediaSelect</em>, determines whether media action should be displayed when a media is selected.</li>
</ul>
<p><strong>New client-side events</strong></p>
<ul>
<li><em>OnKeyDown</em>, will be invoked when there is a key down input in editor.<br />
<pre class="crayon-plain-tag">function WebTextEditor1_OnKeyDown(controlId, keyCode)
{
     var rte = ISGetObject(controlId);
     //implement your codes here
}</pre>
</li>
<li><em>OnMediaSelected</em>, will be invoked when a media is selected. Users can input media to editor content from Media Gallery. When the media is selected, this event will be invoked when specified.<br />
<pre class="crayon-plain-tag">function WebTextEditor1_OnMediaSelected(contolId, element)
{
     var rte = ISGetObject(controlId);
     //implement your codes here
}</pre>
</li>
<li><em>OnBeforeResize</em> and <em>OnAfterResize</em>, will be invoked before and after editor is resized using the footer resize element.<br />
<pre class="crayon-plain-tag">function WebTextEditor1_OnBeforeResize(controlId)
{
     var rte = ISGetObject(controlId);
     //implement your codes here
} 

function WebTextEditor1_OnAfterResize(controlId)
{
     var rte = ISGetObject(controlId);
     //implement your codes here
}</pre>
</li>
<li>Integrated file-uploader client side events, which are <em>OnBeforeUpload</em>, <em>OnUploaderValidate</em>, <em>OnUploading</em>, <em>OnAfterUpload</em>, <em>OnCancelUpload</em>, <em>OnUploaderInitialize</em>, <em>OnUploaderError</em>, <em>OnUploaderFileAdded</em>, and <em>OnUploaderFileRemoved</em>. When WebFileUploader is integrated to WebTextEditor and users perform specific action related to it, the above events will be invoked when specified.</li>
</ul>
<p>New client-side APIs</p>
<ul>
<li><em>SetValueToCurrentPosition</em>, used to set value on the last active cursor position. When users navigate through the content and lost focus from editor, a specific value can be added to editor. When this API is used, the value will be added to the last active cursor position before users lost focus from editor.<br />
<pre class="crayon-plain-tag">var rte = ISGetObject(“WebTextEditor1”);
rte.SetValueToCurrentPosition(“new value”);</pre>
</li>
<li><em>SetFocus</em>, used to set focus to WebTextEditor. When watermark is enabled, this function will remove the watermark and set focus to editor content.<br />
<pre class="crayon-plain-tag">var rte = ISGetObject(“WebTextEditor1”);
rte.SetFocus();</pre>
</li>
<li><em>ToggleToolBar</em>, used to toggle or un-toggle a specific toolbar.<br />
<pre class="crayon-plain-tag">var rte = ISGetObject(“WebTextEditor1”);
var toolbar = rte.ClientToolBar[1];
rte.ToggleToolBar(toolbar, false);</pre>
</li>
<li><em>ResetEditorState</em>, used to reset the editor state to default state. This API will set the content to empty, close the task pane, reset the state of commands in all toolbars, reset the undo and redo collections, and reset the integrated uploader status.<br />
<pre class="crayon-plain-tag">var rte = ISGetObject(“WebTextEditor1”);
rte.ResetEditorState();</pre>
</li>
<li><em>HideCallOut</em>, used to hide the callout. You can specify whether the hide action will be performed using animation.<br />
<pre class="crayon-plain-tag">var rte = ISGetObject(“WebTextEditor1”);
rte.HideCallOut(false); //hide callout without animation</pre>
</li>
<li><em>RegisterIFrameBehavior</em> and <em>UnregisterIFrameBehavior</em>, used to register and unregister the behavior attached to IFrame element of WebTextEditor. When WebTextEditor element is removed and placed in various elements in the page, the behavior attached to the IFrame element will be lost. These new APIs can be used to re-register or unregister the behavior when needed.</li>
</ul>
<p>If you have installed WebUI Studio 2009 R1 SP1, you can read the complete version history of the enhancements and fixes in Intersoft WebUI Studio 2009 R1 SP1 Release Notes.pdf.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/10/new-properties-events-and-client-side-api-added-in-webtexteditor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bind Value to WebTextEditor When Used As Template</title>
		<link>http://blog.intersoftsolutions.com/2009/10/bind-value-to-webtexteditor-when-used-as-template/</link>
		<comments>http://blog.intersoftsolutions.com/2009/10/bind-value-to-webtexteditor-when-used-as-template/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 07:59:59 +0000</pubDate>
		<dc:creator><![CDATA[erikaa]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Bind data]]></category>
		<category><![CDATA[Edit template]]></category>
		<category><![CDATA[Item template]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=965</guid>
		<description><![CDATA[WebTextEditor can be used as editing tool in many scenarios. If you have details view or other data list control, WebTextEditor can be used as the item or edit template and the related data can be displayed in WebTextEditor. DetailsView control is used to demonstrate [...]]]></description>
				<content:encoded><![CDATA[<p>WebTextEditor can be used as editing tool in many scenarios. If you have details view or other data list control, WebTextEditor can be used as the item or edit template and the related data can be displayed in WebTextEditor.</p>
<p>DetailsView control is used to demonstrate this capability. After it is bound properly to Employees table, users can navigate through employee data using the navigation links provided. Data can be bound to WebTextEditor when it is used as item or edit template. Simply set the Content property to the related data.</p><pre class="crayon-plain-tag">&lt;asp:TemplateField HeaderText="Notes" SortExpression="Notes"&gt;
   &lt;ItemTemplate&gt;
      &lt;ISWebTextEditor:WebTextEditor ID="WebTextEditor1" runat="server" Height="200px"
      	   Width="500px" <strong>Content='&lt;%# Bind("Notes") %&gt;'</strong>&gt;
         &lt;ViewSettings EnableHTMLView="false" EnableSplitView="false" /&gt;
         &lt;ToolBarSettings ToolBarMode="None" /&gt;
         &lt;RootTextEditor ReadOnly="true"&gt;
         &lt;/RootTextEditor&gt;
      &lt;/ISWebTextEditor:WebTextEditor&gt;
   &lt;/ItemTemplate&gt;
   &lt;EditItemTemplate&gt;
      &lt;ISWebTextEditor:WebTextEditor ID="WebTextEditor1" runat="server" Height="200px"
	    Width="500px" <strong>Content='&lt;%# Bind("Notes") %&gt;'</strong>&gt;
         &lt;ViewSettings EnableHTMLView="false" EnableSplitView="false" /&gt;
	 &lt;ToolBarSettings ToolBarMode="Minimal" /&gt;
         &lt;TaskPaneSettings&gt;
 	    &lt;MediaGallery Enabled="false" /&gt;
 	 &lt;/TaskPaneSettings&gt;
      &lt;/ISWebTextEditor:WebTextEditor&gt;
   &lt;/EditItemTemplate&gt;
&lt;/asp:TemplateField&gt;</pre><p>As item template, the related Notes data will be displayed in WebTextEditor. As item template, users are unable to edit the content. Read-only status can be set in WebTextEditor when it is used as item template.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/10/item-template.png"><img class="size-medium wp-image-966" title="WebTextEditor used as item template" src="http://intersoftpt.files.wordpress.com/2009/10/item-template.png?w=300" alt="WebTextEditor used as item template" width="300" height="266" /></a></p>
<p>When users click Edit, the related Notes data will be displayed in WebTextEditor. Users can easily modify the content and save the update.</p>
<div class="mceTemp">
<dl class="wp-caption alignleft">
<dt class="wp-caption-dt"><a href="http://intersoftpt.files.wordpress.com/2009/10/edit-template.png"><img class="size-medium wp-image-967" title="WebTextEditor used as edit template" src="http://intersoftpt.files.wordpress.com/2009/10/edit-template.png?w=282" alt="WebTextEditor used as edit template" width="282" height="300" /></a> </dt>
<dd class="wp-caption-dd">WebTextEditor used as edit template </dd>
</dl>
<p>When used as either template, WebTextEditor configuration can be customized based on your requirement. Please browse to <a title="this sample" href="http://live.intersoftpt.com/cs/WebTextEditor/WebTextEditor/DataBinding.aspx?noframe=1&amp;path=/WebTextEditor/Rich%20Text%20Editor/Data%20Binding" target="_blank">this sample</a> in Intersoft Live Demo to try it yourself.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/10/bind-value-to-webtexteditor-when-used-as-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Integrate WebSpellChecker to ASP.NET Controls</title>
		<link>http://blog.intersoftsolutions.com/2009/09/integrate-webspellchecker-to-asp-net-controls/</link>
		<comments>http://blog.intersoftsolutions.com/2009/09/integrate-webspellchecker-to-asp-net-controls/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 07:59:34 +0000</pubDate>
		<dc:creator><![CDATA[intersoftbram]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[ASP.NET Controls Integration]]></category>
		<category><![CDATA[WebSpellChecker]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=925</guid>
		<description><![CDATA[In addition to its easy integration with our own WebTextEditor, WebSpellChecker can also be used to target standard ASP.NET controls such as simple textbox, multiline textarea as well as IFRAME. Similar to the WebTextEditor integration, using WebSpellChecker with ASP.NET controls is very easy and requires [...]]]></description>
				<content:encoded><![CDATA[<p>In addition to its <a href="http://intersoftpt.wordpress.com/2009/08/12/easily-integrate-webspellchecker-to-webtexteditor/" target="_blank">easy integration with our own WebTextEditor</a>, WebSpellChecker can also be used to target standard ASP.NET controls such as simple textbox, multiline textarea as well as IFRAME. Similar to the WebTextEditor integration, using WebSpellChecker with ASP.NET controls is very easy and requires no coding at all.</p>
<p>To use WebSpellChecker in standard ASP.NET controls, simply pay attention on these two properties, <strong><em>TargetControlId</em> </strong>and <strong><em>TargetControlIdValue</em></strong>. The properties are explained in the following.</p>
<ul>
<li><strong>TargetControlId</strong><br />
This property is required to determine the target control for spell check.For instance, TargetControlId should be filled with “TextBox1” value if you would like to spell check on TextBox1 control.</li>
<li><strong>TargetControlIdValue</strong><br />
This property determines the client-side property of the element from which WebSpellChecker should obtain the value for spell check. It’s important to note that the value or content property should be accessible from client-side.For instance, if WebSpellChecker is targetting TextBox server side control, then the TargetControlIdValue property should be set to “value” instead of “Text”.</li>
</ul>
<p>When WebSpellChecker is not integrated to WebTextEditor or editable IFrame, it will use the built-in <strong>DialogBox</strong> interface instead of &#8220;red wave underline highlight&#8221; mode. For further information about WebSpellChecker interface mode, you can find read the detail explanation in <a href="http://intersoftpt.wordpress.com/2009/08/11/introducing-intersoft-webspellchecker-for-asp-net/" target="_blank">here</a>.</p>
<p>To integrate WebSpellChecker to a ASP.NET TextBox, please follow the step-by-step guide below.</p>
<ol>
<li>Drag and drop ASP.NET TextBox control and TextBox control with ID&#8217;s TextBox1 will appear.</li>
<li>Drag and drop HTML Button control and Button control with the ID&#8217;s Button1 will appear. This button is used to start the spell checking from TextBox&#8217;s value.</li>
<li>Drag and drop Intersoft WebSpellChecker control and WebSpellChecker control with ID&#8217;s WebSpellChecker1 will appear.</li>
<li>Set WebSpellChecker&#8217;s <em><strong>TargetControlId </strong></em>to <em><strong>TextBox1 </strong></em>and <em><strong>TargetControlIdValue </strong></em>to <em><strong>value</strong></em>.</li>
<li>Attach <strong>onclick </strong>client side event to Button1 and set it to <strong>CheckSpell function</strong>.<br />
&lt;input id=&#8221;Button1&#8243; type=&#8221;button&#8221; value=&#8221;button&#8221; onclick=&#8221;CheckSpell()&#8221; /&gt;&lt;script language=&#8221;javascript&#8221; type=&#8221;text/javascript&#8221;&gt;<br />
function CheckSpell()<br />
{<br />
var sp = ISGetObject(&#8220;WebSpellChecker1&#8243;);<br />
sp.CheckSpell();<br />
}<br />
&lt;/script&gt;</li>
<li>Integration is finished.</li>
</ol>
<p>The above sample can be found <a href="http://live.intersoftpt.com/cs/WebTextEditor/WebSpellChecker/WebSpellChecker_CommonControl.aspx?noframe=1&amp;path=/WebTextEditor/Spell%20Checker" target="_blank">here</a>. Other samples about WebSpellChecker and the explanation can be found in <a href="http://live.intersoftpt.com/" target="_blank">Intersoft&#8217;s live sample</a>.</p>
<p>If you have any questions or feedback, please don&#8217;t hesitate to post your questions in <a href="http://intersoftpt.com/community" target="_blank">Intersoft Forums</a>.</p>
<p>Best Regards,<br />
Budianto Muliawan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/09/integrate-webspellchecker-to-asp-net-controls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Built-in Mail Merge Support in WebTextEditor</title>
		<link>http://blog.intersoftsolutions.com/2009/09/built-in-mail-merge-support-in-webtexteditor/</link>
		<comments>http://blog.intersoftsolutions.com/2009/09/built-in-mail-merge-support-in-webtexteditor/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 03:47:21 +0000</pubDate>
		<dc:creator><![CDATA[erikaa]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[Mail merge]]></category>
		<category><![CDATA[Send mail]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=908</guid>
		<description><![CDATA[Many people are familiar with Mail Merge feature in Microsoft Word. It is used when you want to send a set of documents that has the same kind of information, but personalized for each recipient. For example: you want to send a gathering invitation to [...]]]></description>
				<content:encoded><![CDATA[<p>Many people are familiar with Mail Merge feature in Microsoft Word. It is used when you want to send a set of documents that has the same kind of information, but personalized for each recipient. For example: you want to send a gathering invitation to all members of IT division. You can send the invitation to all members using the same template but personalized for each recipient. This feature is also supported in WebTextEditor.</p>
<p>You can enable this feature instantly by setting the<strong> EnableMailMerge</strong> property available in <strong>MailMergeSettings</strong>. The collection of recipients can be specified as data bound collection or custom collection. When data bound collection is used, the datasource control id can be specified as <strong>DataSourceID</strong> property.</p>
<p>  </p><pre class="crayon-plain-tag">&lt;ISWebTextEditor:WebTextEditor ID=&quot;WebTextEditor1&quot; runat=&quot;server&quot; Height=&quot;80%&quot; 
Width=&quot;100%&quot; DataMember=&quot;DefaultView&quot; DataSourceID=&quot;AccessDataSource1&quot;&gt;</pre><p></p>
<p>When custom collection is used, the collection can be added to <em>Recipients</em> collection.</p>
<p></p><pre class="crayon-plain-tag">private void BindCustomCollection() 
{ 
   List&lt;ISEmployee&gt; employees = new List&lt;ISEmployee&gt;(); 
   
   ISEmployee emp = new ISEmployee(); 
   emp.EmployeeID = 1; 
   emp.FirstName = &quot;Nancy&quot;; 
   emp.LastName = &quot;Davolio&quot;; 
   emp.Address = &quot;Bridge Street&quot;; 
   emp.City = &quot;London&quot;; 
   emp.Country = &quot;UK&quot;; 
   employees.Add(emp); 

   emp = new ISEmployee(); 
   emp.EmployeeID = 2; 
   emp.FirstName = &quot;Andrew&quot;; 
   emp.LastName = &quot;Fuller&quot;; 
   emp.Address = &quot;Wood Street&quot;; 
   emp.City = &quot;Washington&quot;; 
   emp.Country = &quot;USA&quot;; 
   employees.Add(emp); 

   WebTextEditor1.MailMergeSettings.Recipients = employees; 
}</pre><p></p>
<p>When the collection of recipients are ready, you need to specify the labels. Labels are used to indicate parts of the content that will be replaced with the related data in the data context. You can specify as many labels as needed in the template. Each label contain the following properties:</p>
<ul>
<li><em>Label</em> (mandatory): specifies the text used as label. </li>
<li><em>DataMember</em> (mandatory): specifies the field or property in data context that will be used to replace the label text. </li>
<li><em>FormatString</em> (optional): specifies the format string of the label. This property can be specified if you want to have a specific format on dates or numbers. </li>
</ul>
<p>The collection of labels can be added in <strong>MailMergeSettings &gt;&gt; Labels</strong> property.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/3-addlabels.png"><img class="size-medium wp-image-909" title="Insert Labels" alt="Insert Labels" src="http://intersoftpt.files.wordpress.com/2009/09/3-addlabels.png?w=300" width="300" height="214" /></a></p>
<div style="clear:both;"></div>
<p>The labels will be added to <em>Insert Merge Label</em> dropdown in main toolbar. Users can easily select an item from this command in main toolbar and it will be added to editor. Users will not be able to modify the labels manually in the editor window.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/1-labels.png"><img class="size-medium wp-image-910" title="Collections of labels added to toolbar" alt="Collections of labels added to toolbar" src="http://intersoftpt.files.wordpress.com/2009/09/1-labels.png?w=300" width="300" height="136" /></a></p>
<div style="clear:both;"></div>
<p>Users can preview the mail merge result in Preview tab. The labels will be automatically replaced with the related data in the data context and users can navigate through the data using the previous and next commands in toolbar.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/wte_previewmailmerge.png"><img class="size-medium wp-image-911" title="Preview Mail Merge content" alt="Preview Mail Merge content" src="http://intersoftpt.files.wordpress.com/2009/09/wte_previewmailmerge.png?w=300" width="300" height="218" /></a></p>
<div style="clear:both;"></div>
<p>Users can also send the mail using <em>Send Mail Merge</em> command. Some related properties that need to be configured are:</p>
<ul>
<li><em>EmailField</em>: specifies the field or property in data context that contains email data. </li>
<li><em>From</em>: specifies the email of sender. </li>
<li><em>IsHTML</em>: specifies whether or not the email should be sent as HTML format. </li>
<li><em>MailPriority</em>: specifies the priority status of the email. </li>
<li><em>SMTP</em>: specifies the SMTP server. </li>
<li><em>SubjectExpression</em>: specifies the subject of the email. Labels can be included as the value of this property and they will automatically be replaced with related data when the email is sent. </li>
</ul>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/2-properties.png"><img class="size-medium wp-image-912" title="Mail Merge configuration" alt="Mail Merge configuration" src="http://intersoftpt.files.wordpress.com/2009/09/2-properties.png?w=300" width="300" height="167" /></a></p>
<div style="clear:both;"></div>
<p>WebTextEditor provides various server-side events that will be invoked when the emails are about to be sent. If you have specific scenarios that need custom actions, these events can be used to implement those actions.</p>
<ul>
<li><em>OnBeforeSendMail</em> event is invoked the emails are sent. </li>
<li><em>OnMailMerge</em> event is invoked when each email is merged with the related data from data context. </li>
<li><em>OnMailMergeCompleted</em> event is invoked when all emails have been merged with the related data from the data context. </li>
<li><em>OnSendMail</em> event is invoked when each email is about to be sent. </li>
<li><em>OnSendMailCompleted</em> event is invoked after all emails are sent. </li>
</ul>
<p>If you set <strong>AutomaticSendMail</strong> property to False, you can specify your own configuration and send mail process in OnSendMail event.</p>
<p></p><pre class="crayon-plain-tag">protected void WebTextEditor1_SendMail(object sender, ISNet.WebUI.WebTextEditor.WebTextEditorSendMailArgs e) 
{ 
   //specify your own configuration 
   e.Cancel = true; // needed to cancel built-in send mail process 
}</pre><p></p>
<p>After all emails are sent, you might need to display specific custom status in WebTextEditor or perform other custom actions in client-side. In this case, you can use <em>OnSendMailCompleted</em> client-side event. In this event, the failed emails data will also be passed as parameters. So, in cases where emails are failed to be sent to recipients, you can perform custom actions to handle the scenario.</p>
<p></p><pre class="crayon-plain-tag">&lt;script type=&quot;text/javascript&quot;&gt; 
   function OnSendMailCompleted(controlId, failed, failedEmails) 
   { 
      var editor = ISGetObject(controlId); 

      if (failed &gt; 0) 
      { 
	 // you can implement custom action to handle this scenario 
      } 
      else 
 	 editor.SetStatus(&quot;All emails are successfully sent at &quot; + new Date() + &quot;.&quot;); 
} 
&lt;/script&gt;</pre><p></p>
<p>If you have feedback regarding this feature, feel free to drop a comment or create a new discussion in our new <a title="Forum" href="http://www.intersoftpt.com/Community" target="_blank">Forum</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/09/built-in-mail-merge-support-in-webtexteditor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reduce Page Output in WebTextEditor</title>
		<link>http://blog.intersoftsolutions.com/2009/09/reduce-page-output-in-webtexteditor/</link>
		<comments>http://blog.intersoftsolutions.com/2009/09/reduce-page-output-in-webtexteditor/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 14:18:27 +0000</pubDate>
		<dc:creator><![CDATA[erikaa]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[page output]]></category>
		<category><![CDATA[Reduce output]]></category>
		<category><![CDATA[toolbar]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=882</guid>
		<description><![CDATA[In WebTextEditor, there are three kinds of views that have their own set of toolbars, such as Design view, HTML view, and Preview. Each toolbars are created in server-side and then serialized to client for UI rendering. This will result in a large page output, [...]]]></description>
				<content:encoded><![CDATA[<p>In WebTextEditor, there are three kinds of views that have their own set of toolbars, such as Design view, HTML view, and Preview. Each toolbars are created in server-side and then serialized to client for UI rendering. This will result in a large page output, especially if you have a large number of tool commands in each toolbar.</p>
<p>If you view source in the page, you will find the following toolbar definition in the xml output.</p>
<p>  </p><pre class="crayon-plain-tag">&lt;ToolBar&gt;
   &lt;WebTextEditorToolBar Text=&quot;Formatting&quot; Category=&quot;Formatting&quot;&gt;
      &lt;ToolCommands&gt;
	 &lt;WebTextEditorToolCommand Text=&quot;Bold&quot; DisplayMode=&quot;Image&quot; 
	    Image=&quot;/WebTextEditor/ISRes.axd?E/tb_bold.gif&quot; ToggleGroupName=&quot;Bold&quot; /&gt;
	 &lt;WebTextEditorToolCommand Text=&quot;Italic&quot; CommandType=&quot;Italic&quot; 
	    DisplayMode=&quot;Image&quot; Image=&quot;/WebTextEditor/ISRes.axd?E/tb_italic.gif&quot; 
	    ToggleGroupName=&quot;Italic&quot; /&gt;
	 &lt;WebTextEditorToolCommand Text=&quot;Underline&quot; CommandType=&quot;Underline&quot; 
  	    DisplayMode=&quot;Image&quot; Image=&quot;/WebTextEditor/ISRes.axd?E/tb_underline.gif&quot; 
	    ToggleGroupName=&quot;Underline&quot; /&gt;
	 ...
	 ...
      &lt;/ToolCommands&gt;
   &lt;/WebTextEditorToolBar&gt;
&lt;/ToolBar&gt;</pre><p></p>
<p>The page output will automatically increase if you have more toolbars and more tool commands. We have made many enhancements in the latest WebTextEditor included in Intersoft WebUI Studio 2009 R1 SP1 installer. One of the enhancements is to significantly reduce the page output size due to the huge toolbar definition.</p>
<p>In ToolBarSettings category, we introduced a new property, <strong>SerializationMode</strong>. To prevent breaking changes with the previous implementation, the default value is set to Server. In this case, toolbars and its tool commands will be specified in server-side and serialized to client-side for UI rendering.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/1-property.png"><img class="size-medium wp-image-883" title="SerializationMode property" alt="SerializationMode property" src="http://intersoftpt.files.wordpress.com/2009/09/1-property.png?w=267" width="267" height="300" /></a></p>
<p>The other value of SerializationMode property which is added in SP1 is <strong>Client</strong>. When Client is selected, the toolbars and its commands will be created in client-side, thus reducing the large toolbar definition that previously affects the page output. <span style="text-decoration:underline;">You can view the page source and see that the toolbar definition is no longer included in the xml output</span>. On the other hands, all toolbar functionalities and behaviors remain the same, thus maintaining the stability achieved in both modes.</p>
<p>In addition to this enhancement, <strong>OnInitializeToolBar</strong> client-side event is added to WebTextEditor. In this event, you can customize the tool command sequence, add new tool command, and remove existing tool command. The object parameter passed to this event includes all ToolBar collections in WebTextEditor, such as ToolBar, HTMLToolBar, PreviewToolBar, and FloatingToolBar. Note that these are toolbars collection, not the toolbar instance itself.</p>
<p></p><pre class="crayon-plain-tag">&lt;script type=&quot;text/javascript&quot;&gt; 
   function WebTextEditor1_OnInitializeToolBar(controlId, args) 
   { 
      var rte = ISGetObject(controlId); 
      //args parameter includes all toolbar collections 
   } 
&lt;/script&gt;</pre><p></p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/2-argument.png"><img class="size-medium wp-image-884" title="Argument passed in OnInitializeToolBar event" alt="Argument passed in OnInitializeToolBar event" src="http://intersoftpt.files.wordpress.com/2009/09/2-argument.png?w=300" width="300" height="161" /></a></p>
<p>The object parameter also has some built-in functions which can be easily used to customize the toolbars collection. Each collection can have more than one toolbar and you can add custom toolbars to the existing collection. Simply use AddToolBar function to add the new toolbar to the toolbar collection.</p>
<p>In the following code, two new toolbar are added to ToolBar collection. One toolbar contains Hyperlink and RemoveLink commands, the other toolbar contains Undo and Redo commands.</p>
<p></p><pre class="crayon-plain-tag">&lt;script type=&quot;text/javascript&quot;&gt; 
   function WebTextEditor1_OnInitializeToolBar(controlId, args) 
   { 
      var rte = ISGetObject(controlId);

      // add new toolbars 
      var toolbars = [ 
      { 
	 &quot;Name&quot;: rte.ID + &quot;_tbLink&quot;, &quot;Text&quot;: &quot;Link&quot;, 
	 &quot;Category&quot;: &quot;Custom&quot;, &quot;Commands&quot;: new Array(&quot;Hyperlink&quot;, &quot;RemoveLink&quot;)  
      },
      { 
	 &quot;Name&quot;: rte.ID + &quot;_tbOther&quot;, &quot;Text&quot;: &quot;Other&quot;, 
	 &quot;Category&quot;: &quot;Custom&quot;, &quot;Commands&quot;: new Array(&quot;Undo&quot;, &quot;Redo&quot;)
      }]; 

      args.AddToolBar(args.ToolBar, toolbars); 
   } 
&lt;/script&gt;</pre><p></p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/09/3-add-toolbar.png"><img class="size-full wp-image-885" title="Add New ToolBars" alt="Add New ToolBars" src="http://intersoftpt.files.wordpress.com/2009/09/3-add-toolbar.png" width="544" height="89" /></a></p>
<p>Since each collection can have more than one toolbar, you can use GetToolBar function to get a specific toolbar object using its category and name. In the following code, category is used to get Custom category toolbar. If there are multiple toolbars in Custom category (such as mentioned above), the first toolbar will be returned. In this scenario, tb variable will contains tbLink toolbar instance.</p>
<p></p><pre class="crayon-plain-tag">var tb = args.GetToolBar(&quot;Custom&quot;);</pre><p></p>
<p>If you want to get tbOther toolbar instance, you can use category and name to get a specific toolbar as described in the following code. The tb2 variable will now contains tbOther toolbar instance.</p>
<p></p><pre class="crayon-plain-tag">var tb2 = args.GetToolBar(&quot;Custom&quot;, rte.Id + &quot;_tbOther&quot;);</pre><p></p>
<p>A new command can be added using AddCommand function. You need to specify the toolbar where the new command will be added, the new command, and the position index. If the position index is not specified, the command will be added to the last position in the toolbar. The following code will add a new command, Emoticon, to tbOther toolbar.</p>
<p></p><pre class="crayon-plain-tag">var command1 = { &quot;Name&quot;: &quot;cmdEmoticon&quot;, &quot;Text&quot;: &quot;Emoticon&quot;, 
	&quot;DisplayMode&quot;: &quot;Image&quot;, &quot;Image&quot;: &quot;./Images/smiley1.gif&quot;, 
	&quot;Type&quot;: &quot;ToggleButton&quot;, &quot;ToggleGroupName&quot;: &quot;TaskPane&quot;, 
	&quot;Items&quot; : new ISArray() };

args.AddCommand(tb2, command1);</pre><p></p>
<p>
  <br /><a href="http://intersoftpt.files.wordpress.com/2009/09/4-add-command.png"><img class="size-full wp-image-886" title="Add New Command" alt="Add New Command" src="http://intersoftpt.files.wordpress.com/2009/09/4-add-command.png" width="544" height="24" /></a></p>
<p>
  <br />RemoveCommand function can be used to remove a command. Simply specify the toolbar and the command that will be removed. The following command will remove RemoveLink command from tbLink toolbar. </p>
<p></p>
<p></p><pre class="crayon-plain-tag">var command2 = tb.ToolCommands.GetNamedItem(&quot;cmdRemoveLink&quot;); 
args.RemoveCommand(tb, command2);</pre><p></p>
<p>
  <br /><a href="http://intersoftpt.files.wordpress.com/2009/09/5-remove-command.png"><img class="size-full wp-image-887" title="Remove Command" alt="Remove Command" src="http://intersoftpt.files.wordpress.com/2009/09/5-remove-command.png" width="544" height="24" /></a></p>
<p>Another useful function is MoveCommand function, which can be used to move a command to another position within one toolbar. You need to specify the toolbar, the command name, and the destination index. The following code will move Emoticon command from the last position to the first position in tbOther toolbar.<br />
  </p>
<p></p><pre class="crayon-plain-tag">args.MoveCommand(tb2, &quot;cmdEmoticon&quot;, 0);</pre><p></p>
<p>
  <br /><a href="http://intersoftpt.files.wordpress.com/2009/09/6-move-command.png"><img class="size-full wp-image-888" title="Move Command" alt="Move Command" src="http://intersoftpt.files.wordpress.com/2009/09/6-move-command.png" width="544" height="24" /></a></p>
<p>There is other point to note when this enhancement is enabled. In ToolBarSettings, you can specify the ToolBarMode as Custom and specify your own toolbar definition in XML file. In this case, you are required to use Server serialization mode. Another alternative is to specify the toolbars and commands manually in OnInitializeToolBar client-side event.</p>
<p>Click <a title="here" href="http://www.intersoftpt.com/tdn/downloads/SerializationMode.zip" target="_blank">here </a>to download the sample.</p>
<p>We have other enhancements in WebTextEditor that includes new client-side event, new client-side API, new properties and other points as described in Intersoft WebUI Studio 2009 R1 SP1 Release Notes. Stay tune as we will write more about them in the coming blogs.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/09/reduce-page-output-in-webtexteditor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Easily Integrate WebSpellChecker to WebTextEditor</title>
		<link>http://blog.intersoftsolutions.com/2009/08/easily-integrate-webspellchecker-to-webtexteditor/</link>
		<comments>http://blog.intersoftsolutions.com/2009/08/easily-integrate-webspellchecker-to-webtexteditor/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 02:11:34 +0000</pubDate>
		<dc:creator><![CDATA[intersoftbram]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[WebSpellChecker]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=824</guid>
		<description><![CDATA[WebSpellChecker is designed as a standalone component which you can use independently to target standard ASP.NET controls such as Textbox and IFRAME. In addition, WebSpellChecker can also be easily integrated to WebTextEditor, which seamlessly adds spell checker functionality to the rich text editor. In this [...]]]></description>
				<content:encoded><![CDATA[<img width="504" height="132" src="http://blog.intersoftsolutions.com/wp-content/uploads/2014/09/integratescwitheditor1.png" class="attachment-post-thumbnail wp-post-image" alt="SCResult" style="float:right; margin:0 0 10px 10px;" /><p>WebSpellChecker is designed as a standalone component which you can use independently to target standard ASP.NET controls such as Textbox and IFRAME. In addition, WebSpellChecker can also be easily integrated to WebTextEditor, which seamlessly adds spell checker functionality to the rich text editor. In this post, I&#8217;ll explain how easy it is to integrate our spell checker component to rich text editor.  If you haven&#8217;t familiar with our spell check features, check out my previous post <a href="http://intersoftpt.wordpress.com/2009/08/11/introducing-intersoft-webspellchecker-for-asp-net/" target="_blank">here</a>.</p>
<p>Integration with WebSpellChecker for spell checking can be done elegantly without having to write codes. To integrate WebTextEditor to WebSpellChecker, simply perform the following steps:</p>
<ol>
<li>Add <strong>WebTextEditor</strong> and <strong>WebSpellChecker</strong> instance to your Webform page</li>
<li>In <strong>WebSpellChecker</strong> instance, set the following properties:<br />
<strong>TargetControlId</strong> to  <em>The control id of WebTextEditor</em>.<br />
<strong>IntegratedToWebTextEditor</strong> to <em>True</em>.</li>
</ol>
<p>When integrated to WebTextEditor, WebSpellChecker will automatically enable Microsoft Word-style red wave highlight feature. For further information about WebSpellChecker&#8217;s mode, please refer to WebSpellChecker documentation or the overview <a href="http://intersoftpt.wordpress.com/2009/08/11/introducing-intersoft-webspellchecker-for-asp-net/" target="_blank">here</a>.</p>
<p>When integrated to WebTextEditor, WebSpellChecker will enable sophisticated navigation experience, and also automatically connect to WebTextEditor&#8217;s user interface to provide more advanced spell checking commands.</p>
<p>You can perform spell checking in several ways:</p>
<ol>
<li><strong>Spell checker command in toolbar</strong>.<br />
When WebSpellChecker integration is configured properly, the spell checker command in WebTextEditor’s toolbar will be enabled. Click on this command to start spell checking which activates spell check editing mode. Click on the command again to exit from spell checking mode.</p>
<p><img src="http://intersoftpt.files.wordpress.com/2009/08/integratescwitheditor.png" alt="" /></li>
<li><strong>Auto-navigate spell checker command in status bar</strong>. This easy-to-access button provides user with convenient way to perform spell checking. It’s particularly useful when the editor is loading in minimal toolbar configuration where spell checker command may not be available in the toolbar.
<p><img src="http://intersoftpt.files.wordpress.com/2009/08/scnavigation.png" alt="" /></p>
<p>When clicked for the first time, WebSpellChecker executes spell checking process and automatically focus on the first misspelled word with suggested word list displayed in intuitive context menu interface. Click on the button again to easily navigate to the next misspelled word.</p>
<p><img class="alignnone size-full wp-image-827" title="SCResult" src="http://intersoftpt.files.wordpress.com/2009/08/scresult.png" alt="SCResult" width="441" height="119" /></li>
</ol>
<p>By now you should have learnt how to add spell checker functionality to WebTextEditor. At this point, you might be wondering whether you need to write more codes or spend more efforts to get the fantastic UX shown above. The fact is you don&#8217;t need any efforts &#8212; it&#8217;s all automatic, and yeap, it&#8217;s that easy!</p>
<p>If you haven&#8217;t used WebTextEditor, but would like to see how it fits in your application, you can download the free 30 day trial <a href="http://www.webuistudio.net/try" target="_blank">here</a>. Enjoy, and thanks for reading!</p>
<p>Warm Regards,<br />
Budianto Muliawan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/08/easily-integrate-webspellchecker-to-webtexteditor/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Introducing Intersoft WebSpellChecker for ASP.NET</title>
		<link>http://blog.intersoftsolutions.com/2009/08/introducing-intersoft-webspellchecker-for-asp-net/</link>
		<comments>http://blog.intersoftsolutions.com/2009/08/introducing-intersoft-webspellchecker-for-asp-net/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 03:54:34 +0000</pubDate>
		<dc:creator><![CDATA[intersoftbram]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[UI Components]]></category>
		<category><![CDATA[WebSpellChecker]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=809</guid>
		<description><![CDATA[An often overlooked new component that we shipped in 2009 is our spell checker component for ASP.NET. So in this post, I decided to write some wrap up on WebSpellChecker, so you can get some ideas on its features, what it looks like, how easy [...]]]></description>
				<content:encoded><![CDATA[<p>An often overlooked new component that we shipped in 2009 is our spell checker component for ASP.NET. So in this post, I decided to write some wrap up on WebSpellChecker, so you can get some ideas on its features, what it looks like, how easy to consume it in your web page and more.</p>
<p>Intersoft WebSpellChecker is an easy-to-use, yet powerful spell checking component for ASP.NET. In addition to typical spell check features that you expected, WebSpellChecker delivers several innovative features that are not available elsewhere, such as Microsoft Word-style red-wave underline highlight, built-in dialogbox with intuitive design, natural integration with WebTextEditor, wide cross browsers support and more.</p>
<p>In case you&#8217;re not aware, WebTextEditor actually includes 3 controls. So you can think it more like a Suite or Collection product. It includes 3 essential components: rich text editor, spell checker and file uploader. That means if you get a copy of WebTextEditor, then you get all three with the price of one. More values for your bucks spent &#8212; what could be better in such economic condition?</p>
<p>Speaking on the pricing wise, WebTextEditor is set at a very affordable pricing and is certainly in the range of competitive market price. Unlike other solutions, we deliver a full and real editor functionality without requiring you to buy separate components for spell checking and uploading &#8212; an all-in-one suite for all your form editing needs.</p>
<p>Allright, let&#8217;s jump into WebSpellChecker in more details.</p>
<p>Intersoft WebSpellChecker is the first spell checker component to provide two modes of spell checking user interface.</p>
<ol>
<li><strong>Red-wave Underline Highlight</strong><br />
WebSpellChecker introduces more natural, intuitive way to perform spell checking with red wave highlight feature. To correct misspelled words, just right click on each misspell word and choose the correct word from the displayed word(s) in context menu. It makes spell checking faster and easier than ever.</p>
<p><img class="alignnone size-full wp-image-814" title="SCRedWave" src="http://intersoftpt.files.wordpress.com/2009/08/scredwave.png" alt="SCRedWave" width="435" height="269" /></p>
<p>Please note that this red wave highlight feature can only be enabled on editable IFRAME.</li>
<li><strong>User-friendly Dialog Box Interface</strong><br />
This mode will be automatically enabled when the target control is not an editable IFRAME. The dialog box interface includes visual elements that display checked words and the suggestion words list. Just double click on a word in suggestion list or click on the Change button to correct the misspelled word with the selected suggested word, and finally click on Done button to accept all changes and close the dialog box.<br />
<img class="alignnone size-full wp-image-815" title="SCDialogBox" src="http://intersoftpt.files.wordpress.com/2009/08/scdialogbox.png" alt="SCDialogBox" width="326" height="274" /></li>
</ol>
<p>User interaction on WebSpellChecker can be done through several options available in the context menu interface or in WebDialogBox interface.</p>
<p>Here are the options:</p>
<ol>
<li><strong>Change</strong><br />
This option is only available in WebDialogBox mode; it is used to change the selected misspelled word with the selected suggested word.<br />
Alternatively, you can correct the misspelled word by simply double clicking on the suggested word.<br />
<img class="alignnone size-full wp-image-816" title="SCChange" src="http://intersoftpt.files.wordpress.com/2009/08/scchange.png" alt="SCChange" width="459" height="388" /></li>
<li><strong>Add to dictionary</strong><br />
Often times, WebSpellChecker may show specific terms such as scientific or other valid words as misspelled words. This occurred because the specific words don’t exist in dictionary. WebSpellChecker makes it possible for users to add such words into dictionary, so that WebSpellChecker will not mark it as misspelled word again in the future. To add word to a dictionary, simply right click on the specific word and choose “Add to dictionary” option in the context menu.Note that in order to add to dictionary, the dictionary folder’s permission should be granted with write access.<br />
<img class="alignnone size-full wp-image-817" title="SCAddToDictionary" src="http://intersoftpt.files.wordpress.com/2009/08/scaddtodictionary.png" alt="SCAddToDictionary" width="437" height="195" /></li>
<li><strong>Ignore</strong><br />
This command is used in a scenario where user would like WebSpellChecker to ignore a misspelled word so it will be marked as correct word instead of misspelled. If there are other similar words, WebSpellChecker will not mark other instances as correct word. This command is available in both context menu and dialog box interface.<br />
<img class="alignnone size-full wp-image-818" title="SCIgnore" src="http://intersoftpt.files.wordpress.com/2009/08/scignore.png" alt="SCIgnore" width="461" height="390" /></li>
<li><strong>Ignore All</strong><br />
Similar with Ignore command, “Ignore all” will mark the misspelled word to correct word. The only difference is “Ignore all” will mark all similar words as correct words, instead of just the selected word.<br />
<img class="alignnone size-full wp-image-819" title="SCIgnoreAll" src="http://intersoftpt.files.wordpress.com/2009/08/scignoreall.png" alt="SCIgnoreAll" width="469" height="231" /></li>
</ol>
<p>That&#8217;s all for now! In my next post, I&#8217;ll discuss how you can integrate spell checker into rich text editor easily, and elegantly. To learn more about spell checker features, please head to <a href="http://www.intersoftpt.com/WebTextEditor/SpellChecker" target="_blank">Spell Checker Features page</a>.</p>
<p>For any questions, feedback, or thoughts, please feel free to comment on my post. Thank you for reading.</p>
<p>Best Regards,<br />
Budianto Muliawan</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/08/introducing-intersoft-webspellchecker-for-asp-net/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WebTextEditor Integration with WebFileUploader</title>
		<link>http://blog.intersoftsolutions.com/2009/08/webtexteditor-integration-with-webfileuploader/</link>
		<comments>http://blog.intersoftsolutions.com/2009/08/webtexteditor-integration-with-webfileuploader/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 09:11:26 +0000</pubDate>
		<dc:creator><![CDATA[erikaa]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[WebFileUploader]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=783</guid>
		<description><![CDATA[As described in our website, WebTextEditor includes three components: WebTextEditor, WebSpellChecker and WebFileUploader. Besides used as a stand-alone component, each product can be integrated to each other to provide a more powerful development tool. After configuring HTTPModules and HTTPHandlers needed for WebFileUploader, you can simply [...]]]></description>
				<content:encoded><![CDATA[<p>As described in our website, WebTextEditor includes three components: WebTextEditor, WebSpellChecker and WebFileUploader. Besides used as a stand-alone component, each product can be integrated to each other to provide a more powerful development tool.</p>
<p>After configuring HTTPModules and HTTPHandlers needed for WebFileUploader, you can simply integrate WebFileUploader to WebTextEditor by configuring <em>FileUploaderSettings &gt;&gt; Enabled</em> to <em>True</em>.</p>
<p>  </p><pre class="crayon-plain-tag">&lt;FileUploaderSettings Enabled=&quot;true&quot; /&gt;</pre><p></p>
<p>There are several properties available in FileUploaderSettings.</p>
<table style="border-bottom:#9bbc51 1px solid;border-left:#9bbc51 1px solid;font-family:segoe ui, tahoma;font-size:9pt;border-top:#9bbc51 1px solid;border-right:#9bbc51 1px solid;" border="0" cellspacing="0">
<col width="200" /></col>
<col /></col>
<thead>
<tr style="background-color:#9bbc51;color:white;">
<th>Property Name</th>
<th>Property Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>Enabled</td>
<td>Specifies whether or not file uploader is enabled.</td>
</tr>
<tr>
<td>DefaultUploadPath</td>
<td>Specifies the default upload path in case none is specified in media resource.</td>
</tr>
<tr>
<td>DefaultUploadMediaResource</td>
<td>Specifies the default media resource that is used as default upload path.</td>
</tr>
<tr>
<td>AllowCancel</td>
<td>Specifies whether or not the uploading process can be cancelled.</td>
</tr>
<tr>
<td>FilesCount</td>
<td>Specifies the maximum number of files that can be uploaded in a single uploading<br />
        <br />process.</td>
</tr>
<tr>
<td>FileTypes</td>
<td>Specifies the types of files that can be uploaded.</td>
</tr>
<tr>
<td>UploadSizeLimit</td>
<td>Specifies the maximum size of the file that can be uploaded.</td>
</tr>
<tr>
<td>TotalUploadSizeLimit</td>
<td>Specifies the maximum size of the total uploaded files.</td>
</tr>
<tr>
<td>ShowFileUploaderCommand</td>
<td>Specifies whether or not FileUploader command should be displayed in main toolbar.</td>
</tr>
</tbody>
</table>
<p>When integrated to WebTextEditor, users can use the integrated WebFileUploader in built-in Media Gallery. When enabled, a tool command, Insert from Computer, will be added to Media Gallery toolbar. When it is clicked, a callout that contains integrated WebFileUploader will be displayed. Users will be able to choose a file and upload it to the selected media resource or selected path.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/08/1-integrated-webfileuploader.png"><img class="size-medium wp-image-784" title="Integration with WebFileUploader" alt="Integration with WebFileUploader" src="http://intersoftpt.files.wordpress.com/2009/08/1-integrated-webfileuploader.png?w=300" width="300" height="138" /></a></p>
<p>As explained in previous <a title="Introducing Built-in Media Gallery" href="http://intersoftpt.wordpress.com/2009/07/31/introducing-built-in-media-gallery/" target="_blank">blog</a>, you can specify MediaResource collection where each resource represents a resource where user can perform media search. In each MediaResource object, you can specify <em>AllowUserUpload</em> property to <em>True</em>.</p>
<p></p><pre class="crayon-plain-tag">&lt;MediaResources&gt;
   &lt;ISWebTextEditor:WebTextEditorMediaResourceGroup Name=&quot;media1&quot; Text=&quot;Photos&quot;&gt;
      &lt;resources&gt;
         &lt;ISWebTextEditor:WebTextEditorResource Name=&quot;Images&quot; Url=&quot;Images/&quot; AllowUserUpload=&quot;true&quot; /&gt;
	 &lt;ISWebTextEditor:WebTextEditorResource Name=&quot;Thumbnails&quot; Url=&quot;Thumbnails/&quot; AllowUserUpload=&quot;true&quot; /&gt;
      &lt;/resources&gt;
   &lt;/ISWebTextEditor:WebTextEditorMediaResourceGroup&gt;
&lt;/MediaResources&gt;</pre><p></p>
<p>When this property is enabled, the media resource will be listed in the upload location combo. If there are more than one media resources that enable AllowUserUpload property, you can specify the default selected location in <em>DefaultUploadMediaResource</em> property. Users can select a location in the combo and upload the media to the selected resource.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/08/2-list-of-upload-locations.png"><img class="size-medium wp-image-786" title="List of Upload Locations" alt="List of Upload Locations" src="http://intersoftpt.files.wordpress.com/2009/08/2-list-of-upload-locations.png?w=300" width="300" height="138" /></a></p>
<p>Instead of allowing users to upload to media resource collections, you can allow users to upload media to a specific upload path. This can be configured in <em>DefaultUploadPath</em> property. If you have configurations set in media resource collection and DefaultUploadMediaResource property, the upload location in DefaultUploadPath property will be ignored. The configurations in media resources will be used instead.</p>
<p></p><pre class="crayon-plain-tag">&lt;FileUploaderSettings Enabled=&quot;true&quot; DefaultUploadPath=&quot;Images/&quot; /&gt;</pre><p></p>
<p>Note that the upload location combo is not displayed. Users only need to select the file and it will be uploaded to the location specified in DefaultUploadPath property automatically.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/08/3-defaultuploadpath-specified.png"><img class="size-medium wp-image-787" title="WebFileUploader with DefaultUploadPath specified" alt="WebFileUploader with DefaultUploadPath specified" src="http://intersoftpt.files.wordpress.com/2009/08/3-defaultuploadpath-specified.png?w=300" width="300" height="130" /></a></p>
<p>Besides the above configurations, you can also specify the maximum number of files that can be uploaded, the types of files that can be uploaded, the size limitation, and whether or not users can cancel the upload progress. WebTextEditor already specifies these configurations by default, but it can be customized easily using the properties in FileUploaderSettings. For details of the property name, see the FileUploaderSettings properties table above.</p>
<p>Although WebFileUploader is used mostly in Media Gallery pane, its usage is not limited to Media Gallery only. When you don’t enable Media Gallery pane, you can still use integrated WebFileUploader. You can enable <em>ShowFileUploaderCommand</em> property to include Attach File command in main toolbar. The command has the same behavior as Insert from Computer command in Media Gallery toolbar.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/08/4-showfileuploadercommand-enabled.png"><img class="size-medium wp-image-788" title="Attach File command included in main toolbar" alt="Attach File command included in main toolbar" src="http://intersoftpt.files.wordpress.com/2009/08/4-showfileuploadercommand-enabled.png?w=300" width="300" height="130" /></a></p>
<p>In this case, since Media Gallery is disabled, you need to specify DefaultUploadPath property.</p>
<p></p><pre class="crayon-plain-tag">&lt;TaskPaneSettings&gt;
   &lt;MediaGallery Enabled=&quot;false&quot; /&gt;
&lt;/TaskPaneSettings&gt;

&lt;FileUploaderSettings Enabled=&quot;true&quot; DefaultUploadPath=&quot;Images/&quot; 
   ShowFileUploaderCommand=&quot;true&quot; /&gt;</pre><p></p>
<p>Users can click Attach File command and select the file to upload. The file will be uploaded to the location specified in DefaultUploadPath property. The uploading progress bar and the uploaded file status will still be displayed properly.</p>
<p><a href="http://intersoftpt.files.wordpress.com/2009/08/5-upload-status-displayed.png"><img class="size-medium wp-image-789" title="Upload status is displayed" alt="Upload status is displayed" src="http://intersoftpt.files.wordpress.com/2009/08/5-upload-status-displayed.png?w=300" width="300" height="131" /></a></p>
<p>If the default upload path used in your application is dynamic, you can specify it programmatically in <em>OnPreInitialize</em> server-side event.</p>
<p></p><pre class="crayon-plain-tag">protected void WebTextEditor1_PreInitialize1(object sender, EventArgs e)
{
   // set upload path

   // check whether the specified uploadPath has already exists
   DirectoryInfo dir = new DirectoryInfo(Server.MapPath(uploadPath));
   if (!dir.Exists)
      Directory.CreateDirectory(Server.MapPath(uploadPath));

   // set the upload path as DefaultUploadPath
   WebTextEditor1.FileUploaderSettings.DefaultUploadPath = uploadPath;

   // you can specify other file uploader settings in here
   WebTextEditor1.FileUploaderSettings.FileTypes = &quot;*.zip, *.rar;&quot;;
}</pre><p></p>
<p>The above code will check whether or not the uploadPath has already existed. If not, the folder will be created and then set as DefaultUploadPath. In this event, you can specify the default upload path dynamically based on the requirements of your application. The uploader behavior, including the uploading progress and upload file status, will not changed when this approach is used. Users will still be able to select the file and it will be uploaded to the specified upload path.</p>
<p>Both components can be combined to provide a text editor complete with built-in file uploader. You can configure the available settings provided and use it instantly. Give it a try!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/08/webtexteditor-integration-with-webfileuploader/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing Built-in Media Gallery</title>
		<link>http://blog.intersoftsolutions.com/2009/07/introducing-built-in-media-gallery/</link>
		<comments>http://blog.intersoftsolutions.com/2009/07/introducing-built-in-media-gallery/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 17:15:27 +0000</pubDate>
		<dc:creator><![CDATA[erikaa]]></dc:creator>
				<category><![CDATA[2009 R1]]></category>
		<category><![CDATA[Products]]></category>
		<category><![CDATA[hierarchy]]></category>
		<category><![CDATA[Media Gallery]]></category>
		<category><![CDATA[WebTextEditor]]></category>

		<guid isPermaLink="false">http://intersoftpt.wordpress.com/?p=771</guid>
		<description><![CDATA[WebTextEditor supports built-in media gallery where user can search for media and insert it into editor. Unlike editor in other products, the media gallery in WebTextEditor is placed in TaskPane area, allowing user to still edit and format the text in editor while WebTextEditor performs [...]]]></description>
				<content:encoded><![CDATA[<p>WebTextEditor supports built-in media gallery where user can search for media and insert it into editor. Unlike editor in other products, the media gallery in WebTextEditor is placed in TaskPane area, allowing user to still edit and format the text in editor while WebTextEditor performs media searcing. The media can then be included in editor using double click action or using media context menu.</p>
<p>But where will the media be searched in? Currently WebTextEditor only supports folder search, but we have planned to support broader resource type in the future.</p>
<p>WebTextEditor introduces media resource and media resources group collections in MediaResources property. Both the collections allow developers to specify the hierarchy of media resources that is suitable for the scenario without the need to configure it exactly the same as the physical hierarchy. In folder search, each media resource group and media resource objects represent a folder, where media resource will be the sub folder of media resource group.</p>
<p>Let’s say in the physical hierarchy of your computer folders, ProjectImages folder contains three folders: Products, Screenshots, and Others folders. Each folder contains images related to its category. In normal scenario, you can set all three folders as three media resources under one media resource group, Products.</p>
<div style="font-size:9pt;font-family:Courier New, Tahoma;background-color:whitesmoke;line-height:1.5em;">&lt;MediaResources&gt;<br />
   &lt;ISWebTextEditor:WebTextEditorMediaResourceGroup Name=&#8221;Products&#8221; Text=&#8221;Products&#8221;&gt;<br />
      &lt;resources&gt;<br />
         &lt;ISWebTextEditor:WebTextEditorResource Name=&#8221;resProducts&#8221; Url=&#8221;images/products/&#8221;<br />
           Text=&#8221;Product Images&#8221;&gt;&lt;/ISWebTextEditor:WebTextEditorResource&gt;<br />
         &lt;ISWebTextEditor:WebTextEditorResource Name=&#8221;resScreenshots&#8221; Url=&#8221;images/screenshots/&#8221;<br />
           Text=&#8221;Screenshot Images&#8221; SearchInChildFolder=&#8221;true&#8221;&gt;&lt;/ISWebTextEditor:WebTextEditorResource&gt;<br />
         &lt;ISWebTextEditor:WebTextEditorResource Name=&#8221;resOther&#8221; Url=&#8221;images/other/&#8221;<br />
           Text=&#8221;Other Images&#8221;&gt;&lt;/ISWebTextEditor:WebTextEditorResource&gt;<br />
      &lt;/resources&gt;<br />
   &lt;/ISWebTextEditor:WebTextEditorMediaResourceGroup&gt;<br />
&lt;/MediaResources&gt;</div>
<p>When user searches media in Products group, he will automatically search in all three folders, because they are placed under the same group. If he chooses one specific media resource, for example Screenshots, the search will be performed in Screenshots folder only. This way, the search can be narrowed into a specific folder to improve the result of the search.</p>
<div id="attachment_772" style="width: 334px" class="wp-caption aligncenter"><a href="http://intersoftpt.files.wordpress.com/2009/07/images.png"><img class="size-full wp-image-772" title="Search media in Products group" src="http://intersoftpt.files.wordpress.com/2009/07/images.png" alt="Search media in Products group" width="324" height="440" /></a><p class="wp-caption-text">Search media in Products group</p></div>
<p>What if you want to exclude the search in Others folder because the media that you are looking for is related to products and screenshots categories only? This is not possible using the above hierarchy, because you can either search in all three folders or in one of them.</p>
<p>With the flexibility of media resource concept in WebTextEditor, the above configuration can be modified to meet your new scenario. You can specify two media resource groups: Products and Other groups. Products group includes Products and Screenshots media resources, while Others group includes Others media resource. </p>
<div style="font-size:9pt;font-family:Courier New, Tahoma;background-color:whitesmoke;line-height:1.5em;">&lt;MediaResources&gt;<br />
   &lt;ISWebTextEditor:WebTextEditorMediaResourceGroup Name=&#8221;Products&#8221; Text=&#8221;Products&#8221;&gt;<br />
      &lt;resources&gt;<br />
         &lt;ISWebTextEditor:WebTextEditorResource Name=&#8221;resProducts&#8221; Url=&#8221;images/products/&#8221;<br />
           Text=&#8221;Product Images&#8221;&gt;&lt;/ISWebTextEditor:WebTextEditorResource&gt;<br />
         &lt;ISWebTextEditor:WebTextEditorResource Name=&#8221;resScreenshots&#8221; Url=&#8221;images/screenshots/&#8221;<br />
           Text=&#8221;Screenshot Images&#8221; SearchInChildFolder=&#8221;true&#8221;&gt;&lt;/ISWebTextEditor:WebTextEditorResource&gt;<br />
      &lt;/resources&gt;<br />
   &lt;/ISWebTextEditor:WebTextEditorMediaResourceGroup&gt;<br />
   &lt;ISWebTextEditor:WebTextEditorMediaResourceGroup Name=&#8221;Other&#8221; Text=&#8221;Other&#8221;&gt;<br />
      &lt;resources&gt;<br />
         &lt;ISWebTextEditor:WebTextEditorResource Name=&#8221;resOther&#8221; Url=&#8221;images/other/&#8221;<br />
           Text=&#8221;Other Images&#8221;&gt;&lt;/ISWebTextEditor:WebTextEditorResource&gt;<br />
      &lt;/resources&gt;<br />
   &lt;/ISWebTextEditor:WebTextEditorMediaResourceGroup&gt;<br />
&lt;/MediaResources&gt;</div>
<p> When user wants to exclude the search in Others folder, he can simply chooses Products group and the search will be performed on Products and Screenshots folder only.</p>
<div id="attachment_773" style="width: 334px" class="wp-caption aligncenter"><a href="http://intersoftpt.files.wordpress.com/2009/07/products.png"><img class="size-full wp-image-773 " title="Rearrange the hierarchy of media resources" src="http://intersoftpt.files.wordpress.com/2009/07/products.png" alt="Rearrange the hierarchy of media resources" width="324" height="458" /></a><p class="wp-caption-text">Rearrange the hierarchy of media resources</p></div>
<p>So, it’s very flexible to configure the hierarchy of your media resource according to your requirement. When WebTextEditor is integrated to WebFileUploader, the media resources can be used as the available upload folders as well. This topic will be explained further in the future.</p>
<div id="attachment_774" style="width: 310px" class="wp-caption aligncenter"><a href="http://intersoftpt.files.wordpress.com/2009/07/add-media.png"><img class="size-medium wp-image-774 " title="Add media to editor" src="http://intersoftpt.files.wordpress.com/2009/07/add-media.png?w=300" alt="Add media to editor" width="300" height="177" /></a><p class="wp-caption-text">Add media to editor</p></div>
<p>The search result can be filtered by inputting search text, narrowing the media resource and the result type. When search result is not filtered, it will return all the available media in all the specified media resource. This could result in a very large output, which could affect the performance. That is why <em>MaxMediaRetrieved</em> property is introduced. You can specify the maximum media retrieved in every search action. By default, the value of this property is 100, which means every search action will only returns the first 100 media, even though the search result is larger than that.</p>
<p>Besides that, you can also enable <em>SearchMediaOnLoad</em> property to specify whether or not you want the search to be performed automatically when Media Gallery is first opened. When enabled, this behavior enables user to easily and directly choose the available media to be included in editor.</p>
<p>In conclusion, WebTextEditor includes built-in media gallery, which can be easily configured and very easy to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.intersoftsolutions.com/2009/07/introducing-built-in-media-gallery/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
