AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts

saknet picture saknet · Oct 5, 2010 · Viewed 41.4k times · Source

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.

Answer

Palanikumar picture Palanikumar · Nov 12, 2011

Try this:

Change

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

to

<ajaxToolkit:ToolkitScriptManager ID="toolkitScriptManager1" runat="server"></ajaxToolkit:ToolkitScriptManager>