I’m using CKEditor in my project, but I’m trying to get it to work without the need to declare the assembly in every page that I’m using it.
The assembly that I declare is this one:
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
Following the instructions on this website, I made the following changes in my web.config
<system.web>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
<controls>
<add tagPrefix="CKEditor" assembly="CKEditor.NET"/>
</controls>
</pages>
</system.web>
But I keep getting this error
Parser Error Message: Invalid or missing attributes found in the tagPrefix entry. For user control, you must also specify ‘tagName’ and
‘src’. For custom control, you must also specify ‘namespace’, and
optionally ‘assembly’
I’m not sure what am I doing wrong. Maybe is a silly thing, not sure.
You need to specify the namespace.
Assuming the namespace is CKEditor, of course.