Hi AndyFel,
Please use DropDownList control
<%@ Page Language="VB" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
Protected Overrides Sub OnLoad(e As EventArgs)
Dim container As CuteEditor.ToolControl = Editor1.ToolControls("insertcustombutonhere")
If container IsNot Nothing Then
Dim ddl As New DropDownList()
ddl.Items.Add(New ListItem("test1", "test1"))
ddl.Items.Add(New ListItem("test2", "test2"))
ddl.Items.Add(New ListItem("test3", "test3"))
ddl.CssClass = "CuteEditorDropDown"
ddl.ToolTip = "Select Document Type (DTD)"
ddl.ID = "ddl1"
ddl.Width = 120
ddl.SelectedIndex = 2
container.Control.Controls.Add(ddl)
End If
MyBase.OnLoad(e)
End Sub
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>example</title>
</head>
<body>
<form id="form1" runat="server">
<CE:Editor ID="Editor1" runat="server">
</CE:Editor>
</form>
</body>
</html>
Regards,
Ken