Images dropdown Customization
Images dropdown Customization
The Images dropdown of CuteEditor by default displays a predefined set of
Images. You can easily modify this default set using the following methods.
1. Edit Dropdown Configuration file (Common.config).
The dropdown configuration file (Common.config) can be found in the
CuteEditor_Files/Configuration/Shared folder. In dropdown configuration file
you can find the Images element which contains the configuration
information for the Images dropdown within Cute Editor.
You can modify the Images element to create your own Images list.
Example:
- <Images>
- <item text="Logo" value="/images/logo.gif"></item>
- <item text="Flower" value="/images/j0313820.jpg"></item>
- </Images>
Now the Images dropdown contains the followings:

2. Programmatically populate the Images dropdown
Example:
- <%
- Dim editor
- Set editor = New CuteEditor
- editor.ID = "Editor1"
- 'Programmatically populate the Images dropdown.
- editor.ImagesDropDownMenuNames = "Logo, Flower"
- editor.ImagesDropDownMenuList = "/images/logo.gif,/images/j0313820.jpg"
- editor.Text = "Hello World"
- editor.Draw()
- %>