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). You can modify the Images element to create your own Images list. Example:
<Images> <item text="Logo" value="http://www.cutesoft.net/images/logo.gif"></item> <item text="Flower" value="http://cutesoft.net/data/j0313820.jpg"></item> </Images>
Now the Images dropdown contains the followings:
|
|
<%
Dim editor Set editor = New CuteEditor editor.ID = "Editor1" 'Programmatically populate the Images dropdown. editor.ImagesDropDownMenuNames = "Logo, Flower" editor.ImagesDropDownMenuList = "http://www.cutesoft.net/images/logo.gif,http://cutesoft.net/data/j0313820.jpg" editor.Text = "Hello World" editor.Draw() %> |