David,
You can embed a div tag and assign an ID.
When CuteEditor_OnChange event is fired, update the innerHTML of this control like we did in the folllowing example:
>>Could you show me where to include the div tag.
CuteEditor.ToolControl tc = Editor1.ToolControls["insertcustombutonhere"];
if(tc!=null)
{
// Create a HtmlGenericControl here instead of an image control
System.Web.UI.WebControls.Image Image1 = new System.Web.UI.WebControls.Image ();
Image1.ToolTip = "Insert today's date";
Image1.ImageUrl = "tools.gif";
Image1.CssClass = "CuteEditorButton";
SetMouseEvents(Image1);
Image1.Attributes["onclick"]="var d = new Date(); CuteEditor_GetEditor(this).ExecCommand('PasteHTML',false,d.toLocaleDateString())";
tc.Control.Controls.Add(Image1);
}
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