views:

53

answers:

2

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.

+1  A: 

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

Sachin Shanbhag
i have gone through this link. when i change the scriptmanager to toolcriptmanager it is showing this error "Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'"
saknet
@saknet - Check my edited answer for your type load error resolution.
Sachin Shanbhag
A: 

Thank you very much Sachin. I have installed SP1 and the problem is solved. Instead of scriptmanager i have used ToolkitScriptManager

saknet