azaldivar,
Try Change to the following line:
Image1.Attributes.Add("onclick", "insertHTML('Editor1','Testing...')")
to:
Image1.Attributes.Add("onclick", "insertHTML('Editor1_editBox','Testing...')")
Or you can use the JavaScript function in the addcustombuttons.aspx.
<script language="JavaScript" type="text/javascript" >
function Paste_Html1(editorID,value) {
EditorID = editorID+"_editBox";
var editor = document.getElementById(EditorID);
editor.focus();
var sel = editor.document.selection.createRange();
if (editor.document.selection.type == 'Control') {
return;
}
sel.pasteHTML(value);
}
</script>
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