Last post Nov 01, 2013 11:10 AM by dtsob75
Jun 04, 2013 03:58 PM|jtymie|LINK
I am trying to add a custom button to a htmleditorextender control. I have only been able to find solutions for the old htmleditor that is no longer provided in the AJAX toolkit. Is there a way to add custom buttons?
Jun 04, 2013 11:30 PM|chetan.sarode|LINK
The AjaxControlToolkit HTMLEditor extender is built by Obout and added in the latest version 3.0.30512. There are many changes of the class name, method name and namespace, but the two base theories are the same. It is still built on top of the Microsoft
ASP.NET AJAX framework.
So, customize the HTMLEditor ToolBar is to add some client behaviors and DOM documents to it. In the Obout HTMLEditor, the new button is added as the “Custom” type.
http://www.obout.com/editor_new/howto_CB.aspx But in the AjaxControlToolkit HTMLEditor, we can achieve this function by adding MethodButton
protected override void FillTopToolbar()
AjaxControlToolkit.HTMLEditor.ToolbarButton.MethodButton btn=new AjaxControlToolkit.HTMLEditor.ToolbarButton.MethodButton();
Nov 01, 2013 11:10 AM|dtsob75|LINK
It appears that the code you supplied was for the old HTMLEditor, not the new HTMLEditor Extender. Is that correct? I can't figure out how to customize the extender, as it appears to be completely different.
Am I missing something?