How can i create a custom button in a new toolbar and still have the mouse over select event. ?
This i my .config file :
...
<toolbars>
<item type="g_start" />
<item type="holder" name="insertcustombutonhere" />
<item type="g_end" />
</toolbars>
...
I use the following code to add the button:
Dim tc As CuteEditor.ToolControl
tc = ED.ToolControls("insertcustombutonhere")
If Not tc Is Nothing Then
Dim Image1 As New System.Web.UI.WebControls.Image()
Image1.ToolTip = ""
Image1.ImageUrl = ImageURL & "textbox.gif"
Image1.CssClass = "CuteEditorButton"
Image1.Attributes("onclick") = "CuteEditor_GetEditor(this).ExecCommand('PasteHTML',false,'hello')"
tc.Control.Controls.Add(Image1)
End If
But when i hold the mouse over the button the icon does not get the orange background.
Regards
Bo