Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all.
I have a problem while working with ajax in my website.
As i am using .Net 3.5 framework.I want to use AutoCompleteExtender in my webpage
It is showing the error like

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

later I have replaced
C#
<asp:toolkitscriptmanager runat="server" />
control to
C#
<asp:scriptManager runat="server"/>
Control . now there is no error. but My web page is behaving like a normal webpage.

Thanks for any help.
Posted
Updated 10-Feb-12 3:01am
v2
Comments
manognya kota 10-Feb-12 3:48am    
Did you add the System.web.Extensions.dll reference to your project ?Please check whether it is missing .Also, use toolkitscriptmanager only when working with ajaxtoolkits.
AtreyaRC 10-Feb-12 6:16am    
did you run the code without changing the toolkit manager. Toolkit mgr. is required when running ajax toolkit extenders.

1 solution

The error means that the dll is not present. So, make sure it's present. You don't say what you did to check on this, or explain the rationale behind changing your code.

jquery is a much better way to do AJAX
 
Share this answer
 

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