I am using Visual Studio 2008 and I am trying to use a custom control and the AjaxControl Toolkit.
I have copied the 2 seperate DLLs to my BIN directory and I have built the website. In the top of my aspx page I have the following references:
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
<%@ Register assembly="CustomControls" namespace="CustomControls" tagprefix="cc2" %>
Now in my aspx code I have dragged across the Colorpicker (CustomControls) from my toolbox and it has generated this code:
<cc2:ColorPicker runat="server" ID="ColorPicker1"></cc2:ColorPicker>
Now in the error panel for VS2008 it is telling me that:
Element 'ColorPicker' is not a known element. This can occur if there is a compilation error in the Web site, or the web.config file is missing.
Unknown server tag 'cc2:ColorPicker'.
I do not understand what I have missed out or done wrong or what the issue is. I would be very grateful for any insight on what is missing.