Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.

Actually 2 versions of ajax are referred:version 2.0 and 4.1


I have given in web config runtime tag:

assemblyidentity name="Sys.Extended.UI" publickeytoken="28f01b0e84b6d53e" culture="neutral" 
bindingredirect oldversion="2.0.5.0" newversion="4.1.40412.0" 



Still then also,in one form with collapsiblepanelextender ,its showing the above mentioned error and Sys.Extended.UI is null.

how to solve this?
Posted
Updated 27-Sep-11 15:31pm
v4

1 solution

Please try this.

change this

XML
<asp:ScriptManager ID="ScriptManager1" runat="server" />


to this

XML
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager>
 
Share this answer
 
v2
Comments
RoshInd 27-Sep-11 6:27am    
I have already given this:
<ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" EnablePartialRendering ="true">
Member 11265187 29-Jan-15 7:34am    
but the error still remain after changing
<asp:ScriptManager ID="ScriptManager1" runat="server" />
to
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900