Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my web page i need just a textbox and the datetime picker but i want it as ajaxified page, but the problem is not with the controls when i run the website its showing the following error please help in this.

Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Posted
Updated 13-Dec-11 6:33am

1 solution

You can try any of these two fixes:

1. Install .Net framework 3.5 SP 1[^] or

2. Change:
ASP.NET
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />


to:
ASP.NET
<asp:ScriptManager ID="ScriptManager1" runat="server" />


hope it helps :)
 
Share this answer
 
v2
Comments
Suraj S Koneri 13-Dec-11 12:58pm    
If i use the ScriptManager instead of ToolkitScriptManager on click of text box calendar is not coming.
Suraj S Koneri 13-Dec-11 20:30pm    
Thank u uday its working after intstalling the .NET 3.5 :)
Uday P.Singh 14-Dec-11 0:52am    
you are welcome :)

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