Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts

Can anyone have a solution for this issue

Microsoft JScript runtime 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.

I am using asp.net 3.5, VS 2008. The version i can see in the AjaxControlToolKit.dll file 3.5.40412.2.

like image 1000
saknet Avatar asked Oct 05 '10 09:10

saknet


2 Answers

Try this:

Change

<asp:ScriptManager ID="scriptManager1" runat="server"></asp:ScriptManager> 

to

<ajaxToolkit:ToolkitScriptManager ID="toolkitScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager> 
like image 178
Palanikumar Avatar answered Sep 21 '22 06:09

Palanikumar


Check if this link helps you resolve your issue -

http://blog.thinkoriginally.com/2010/05/03/microsoft-jscript-runtime-error-ajaxcontroltoolkit-requires-asp-net-ajax-4-0-scripts/

EDIT: Check this link for dll load error resolution -

http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx

like image 21
Sachin Shanbhag Avatar answered Sep 20 '22 06:09

Sachin Shanbhag