Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: Error: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll. [27267]

$
0
0
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 started a new web forms project with Visual Studio 2012 and downloaded the 4.5 toolkit through NuGet. I made the changes according to Stephen Walther's blog http://stephenwalther.com/archive/2012/09/20/september-2012-release-of-the-ajax-control-toolkit.aspx although I never got the MsAjaxBundle error, only the 4.0 scripts error. The AjaxControlTookit referenced is 4.1.60919.0 which I think is the latest version. I have made no other changes to the default project. The default tagPrefix added to my web.config file matches the toolkitscriptmanager on my masterpage <add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" /> Why is it asking for 4.0 scripts?

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>