I've that error.
My page has
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>
...
<asp:ToolkitScriptManager runat="server">
</asp:ToolkitScriptManager>
...
<asp:TextBox ID="ColorInsertTb" style="width:60px" runat="server" Text='' EnableViewState="false" />
<asp:ColorPickerExtender runat="server" ID="ColorInsertPickerExtender" TargetControlID="ColorInsertTb" SampleControlID="ColorInsertSample" />
--------
last package from nuget
VS2012, asp.net 4.5
what an hell: every time I try to start the toolkit on a new project I've a lot of this troubles....
Comments: I got the same issue. It seems I have to switch to .NET 4.0. Of course, I have the Obvious tags right in site.master. <ajaxToolkit:ToolkitScriptManager runat="server"> <Scripts> <%--Framework Scripts--%> <asp:ScriptReference Name="jquery" /> <asp:ScriptReference Name="jquery.ui.combined" /> <asp:ScriptReference Name="WebForms.js" Path="~/Scripts/WebForms/WebForms.js" /> <asp:ScriptReference Name="WebUIValidation.js" Path="~/Scripts/WebForms/WebUIValidation.js" /> <asp:ScriptReference Name="MenuStandards.js" Path="~/Scripts/WebForms/MenuStandards.js" /> <asp:ScriptReference Name="GridView.js" Path="~/Scripts/WebForms/GridView.js" /> <asp:ScriptReference Name="DetailsView.js" Path="~/Scripts/WebForms/DetailsView.js" /> <asp:ScriptReference Name="TreeView.js" Path="~/Scripts/WebForms/TreeView.js" /> <asp:ScriptReference Name="WebParts.js" Path="~/Scripts/WebForms/WebParts.js" /> <asp:ScriptReference Name="Focus.js" Path="~/Scripts/WebForms/Focus.js" /> <asp:ScriptReference Name="WebFormsBundle" /> <%--Site Scripts--%> </Scripts> </ajaxToolkit:ToolkitScriptManager>
My page has
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>
...
<asp:ToolkitScriptManager runat="server">
</asp:ToolkitScriptManager>
...
<asp:TextBox ID="ColorInsertTb" style="width:60px" runat="server" Text='' EnableViewState="false" />
<asp:ColorPickerExtender runat="server" ID="ColorInsertPickerExtender" TargetControlID="ColorInsertTb" SampleControlID="ColorInsertSample" />
--------
last package from nuget
VS2012, asp.net 4.5
what an hell: every time I try to start the toolkit on a new project I've a lot of this troubles....
Comments: I got the same issue. It seems I have to switch to .NET 4.0. Of course, I have the Obvious tags right in site.master. <ajaxToolkit:ToolkitScriptManager runat="server"> <Scripts> <%--Framework Scripts--%> <asp:ScriptReference Name="jquery" /> <asp:ScriptReference Name="jquery.ui.combined" /> <asp:ScriptReference Name="WebForms.js" Path="~/Scripts/WebForms/WebForms.js" /> <asp:ScriptReference Name="WebUIValidation.js" Path="~/Scripts/WebForms/WebUIValidation.js" /> <asp:ScriptReference Name="MenuStandards.js" Path="~/Scripts/WebForms/MenuStandards.js" /> <asp:ScriptReference Name="GridView.js" Path="~/Scripts/WebForms/GridView.js" /> <asp:ScriptReference Name="DetailsView.js" Path="~/Scripts/WebForms/DetailsView.js" /> <asp:ScriptReference Name="TreeView.js" Path="~/Scripts/WebForms/TreeView.js" /> <asp:ScriptReference Name="WebParts.js" Path="~/Scripts/WebForms/WebParts.js" /> <asp:ScriptReference Name="Focus.js" Path="~/Scripts/WebForms/Focus.js" /> <asp:ScriptReference Name="WebFormsBundle" /> <%--Site Scripts--%> </Scripts> </ajaxToolkit:ToolkitScriptManager>