STEVE,
What kind of error message did you get when compiling the project?
This is an example:
Dim Image1 As New System.Web.UI.WebControls.Image()
Image1.ToolTip = "Insert today's date"
Image1.ImageUrl = "tools.gif"
Image1.CssClass = "CuteEditorButton"
SetMouseEvents(Image1)
...
Another method to create a custom button is using the CreateCommandButton function:
Dim ctrl As System.Web.UI.WebControls.WebControl
ctrl = Editor1.CreateCommandButton("MyButton", "text.gif", "Insert My Custom Text")
ctrl.Attributes("onclick") = "ShowMyDialog(this)"
'add this custom button into the editor
Editor1.InsertToolControl(pos, "MyButton", ctrl)
You can find the source code of the above example in the download package.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx