AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts

ajaxcontroltoolkitasp.net

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.

Best Answer

Try this:

Change

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

to

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