Cute Editor for ASP |
The toolbar of CuteEditor by default displays a predefined set of tool buttons. You can easily modify this default set using the following methods.
1. Load and Edit the configuration file directly
|
For example: The following code disables the save, bold buttons:
|
|
2. Load
the different configuration file dynamically for the different roles/users
using Editor.AutoConfigure property.
|
For example:Editor1.AutoConfigure = AutoConfigure.Simple
|
|
3. Create/load a custom toolbar configuration file | View the topic:
How to create a custom toolbar configuration file? |
|
4. Set the template or layout to use for the toolbars dynamically using Editor.TemplateItemList property. |
For example:
Editor1.TemplateItemList = "bold, italic, underline" |
|
5. Put the toolbar items needed to be disabled into this Editor.DisableItemList string. |
For example:
Editor1.DisableItemList = "save, help, CssStyle"
|
|
6. Create/Add your own custom button dynamically. | View the topic:
Add your own custom button |
© 2003 - 2024 Richscripts Inc. All rights reserved.