﻿<?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 - How to disable one command button in the toolbar</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/How-to-disable-one-command-button-in-the-toolbar/</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>How to disable one command button in the toolbar</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/How-to-disable-one-command-button-in-the-toolbar/</link><pubDate>Mon, 17 Jan 2011 05:31:56 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebTextEditor</category><category>Toolbar</category><category>disable</category><description>&lt;p&gt;Handy and Martin,&lt;/p&gt;
&lt;p&gt;Thanks for your assistant.&lt;img style="border-bottom: medium none; border-left: medium none; border-top: medium none; border-right: medium none" src="http://www.intersoftpt.com/WebResources/Images/Community/Editor/smiley1.gif" /&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item><item><title>How to disable one command button in the toolbar</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/How-to-disable-one-command-button-in-the-toolbar/</link><pubDate>Wed, 12 Jan 2011 22:28:50 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebTextEditor</category><category>Toolbar</category><category>disable</category><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;Thank you Martin to remind me. :-)&lt;br /&gt;To disable a command in the toolbar, you will need to know what type of the toolbar.&lt;br /&gt;We have several type of toolbar such as:&lt;/p&gt;
&lt;p&gt;1. ToolBar which is toolbar at design&lt;br /&gt;2. HTMLToolBar which is in html mode&lt;br /&gt;3. PreviewToolBar which is in preview mode&lt;br /&gt;4. FloatingToolBar which is in floating mode&lt;/p&gt;
&lt;p&gt;e.g I disable bold command. Bold command is one of ToolBar command.&lt;br /&gt;Here is the following codes:&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;var rte = ISGetObject("WebTextEditor1");
rte.ClientToolBar[0].Disable("cmdBold");&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>How to disable one command button in the toolbar</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/How-to-disable-one-command-button-in-the-toolbar/</link><pubDate>Wed, 12 Jan 2011 11:27:54 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebTextEditor</category><category>Toolbar</category><category>disable</category><description>&lt;p&gt;Hello fung,&lt;/p&gt;
&lt;p&gt;Are you mentioning about WebTextEditor control?&lt;/p&gt;
&lt;p&gt;I have confirmed with the developer team and WebTextEditor currently does not provide Disable feature for the ToolCommand item. You can only remove the button instead.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item><item><title>How to disable one command button in the toolbar</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/How-to-disable-one-command-button-in-the-toolbar/</link><pubDate>Wed, 12 Jan 2011 04:26:24 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><category>WebTextEditor</category><category>Toolbar</category><category>disable</category><description>&lt;p&gt;Hello Fung,&lt;/p&gt;&lt;p&gt;You can disable the command button by using SetISEnabled(false).&lt;/p&gt;
&lt;p&gt;e.g&lt;/p&gt;
&lt;p /&gt;&lt;pre&gt;var tb = ISGetObject("WebToolBar1");
tb.Commands.GetNamedItem("Menu1").SetIsEnabled(false);&lt;/pre&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;
&lt;p /&gt;</description></item><item><title>How to disable one command button in the toolbar</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/How-to-disable-one-command-button-in-the-toolbar/</link><pubDate>Tue, 11 Jan 2011 04:19:50 GMT</pubDate><dc:creator>interfung</dc:creator><category>WebTextEditor</category><category>Toolbar</category><category>disable</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can only find samples for removing the button from the toolbar directly, I wonder if there is a way to disable a command button in the toolbar&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Fung&lt;/p&gt;</description></item></channel></rss>