iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
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
Thanks and Regards,
Fung
Hello,
Thank you Martin to remind me. :-)To disable a command in the toolbar, you will need to know what type of the toolbar.We have several type of toolbar such as:
1. ToolBar which is toolbar at design2. HTMLToolBar which is in html mode3. PreviewToolBar which is in preview mode4. FloatingToolBar which is in floating mode
e.g I disable bold command. Bold command is one of ToolBar command.Here is the following codes:
var rte = ISGetObject("WebTextEditor1"); rte.ClientToolBar[0].Disable("cmdBold");
Regards,Handy
Hello Fung,
You can disable the command button by using SetISEnabled(false).
e.g
var tb = ISGetObject("WebToolBar1"); tb.Commands.GetNamedItem("Menu1").SetIsEnabled(false);
Hello fung,
Are you mentioning about WebTextEditor control?
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.
Thank you.
Handy and Martin,
Thanks for your assistant.
Best Regards,
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname