From: Andr� Freitas on
Im using AjaxControlToolkit HTML Editor, and following the documentation, i
got the code:

Webconfig:

<assemblies>
<add assembly="AjaxControlToolkit"/>
</assemblies>

<pages>
<controls>
<add tagPrefix="asp" namespace="AjaxControlToolkit.HTMLEditor"
assembly="AjaxControlToolkit"/>
</controls>
</pages>

AnyName.cs

using AjaxControlToolkit.HTMLEditor;
namespace MyControl
{
public class SimpleEditor : Editor
{
protected override void FillTopToolbar()
{
TopToolbar.Buttons.Add(new
AjaxControlToolkit.HTMLEditor.ToolbarButton.Bold());
TopToolbar.Buttons.Add(new
AjaxControlToolkit.HTMLEditor.ToolbarButton.Italic());
}

protected override void FillBottomToolbar()
{
BottomToolbar.Buttons.Add(new
AjaxControlToolkit.HTMLEditor.ToolbarButton.DesignMode());
BottomToolbar.Buttons.Add(new
AjaxControlToolkit.HTMLEditor.ToolbarButton.PreviewMode());
}
}
}

Test.aspx

I got the line <%@ Register namespace="MyControls" tagprefix="custom" %>
at the top of my aspx, but i cant find the reference to get a new instance
of the object.

What am i doing wrong?

Regards