Sorry if this is a stupid question with an obvious answer but I can't update panels to work after upgrading Ajax from an early version to the latest version at http://www.asp.net/ajax/downloads/.
I tried removing the AJAX extensions from Visual studio completely and reinstalling everything from the new version but now I seem to only have the Ajax toolkit and ONE Ajax extension, the scriptmanager. Update panels are no where to be found now. Not sure
how to fix this.
Well that certainly explains why I couldn't find any information on installing it!
I've reset my toolbox now and the AJAX Extensions tab has returned with all the components. I've reinstalled the Ajax toolkit now.
I'm now getting this error when trying to compile and run my project:
"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the
satellite assemblies required are loadable and fully signed."
At least now I have an error message I can search on though!
System wasn't liking my old component tags ("<:cc" instead of new "<:asp") and didn't like my scriptmanager.
Fixed that and now I'm getting this error message at runtime:
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 AjaxScriptManager in System.Web.Ajax.dll, or use the
ToolkitScriptManager in AjaxControlToolkit.dll.
Pretty sure the system is looking at the correct script manager =\
It seems that it doesn't like referencing the System.Web.Ajax.dll from the installation file for some reason. I now have it referencing the copy from my BIN directory in my actual project and it works fine now. Pretty sure I shouldn't be referencing this
local copy, but its working for now so I won't complain.
Marked as answer by Ravendarksky on Dec 01, 2009 04:40 PM
Ravendarksky
Member
4 Points
7 Posts
Ajax upgrade problem
Dec 01, 2009 12:33 PM|LINK
Hi there,
Sorry if this is a stupid question with an obvious answer but I can't update panels to work after upgrading Ajax from an early version to the latest version at http://www.asp.net/ajax/downloads/.
I tried removing the AJAX extensions from Visual studio completely and reinstalling everything from the new version but now I seem to only have the Ajax toolkit and ONE Ajax extension, the scriptmanager. Update panels are no where to be found now. Not sure how to fix this.
Thanks for any help provided!
Yousef_Jadal...
Star
8812 Points
1502 Posts
Re: Ajax upgrade problem
Dec 01, 2009 12:48 PM|LINK
What is the .Net version you are using?
Ravendarksky
Member
4 Points
7 Posts
Re: Ajax upgrade problem
Dec 01, 2009 01:01 PM|LINK
3.5. Thanks for replying.
Yousef_Jadal...
Star
8812 Points
1502 Posts
Re: Ajax upgrade problem
Dec 01, 2009 01:44 PM|LINK
You don't have to install AJAX Extensions on .Net 2008 , it comes with the default components.
Ravendarksky
Member
4 Points
7 Posts
Re: Ajax upgrade problem
Dec 01, 2009 02:37 PM|LINK
Well that certainly explains why I couldn't find any information on installing it!
I've reset my toolbox now and the AJAX Extensions tab has returned with all the components. I've reinstalled the Ajax toolkit now.
I'm now getting this error when trying to compile and run my project:
"Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed."
At least now I have an error message I can search on though!
Thanks.
Ravendarksky
Member
4 Points
7 Posts
Re: Ajax upgrade problem
Dec 01, 2009 02:50 PM|LINK
System wasn't liking my old component tags ("<:cc" instead of new "<:asp") and didn't like my scriptmanager.
Fixed that and now I'm getting this error message at runtime:
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 AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
Pretty sure the system is looking at the correct script manager =\
Ravendarksky
Member
4 Points
7 Posts
Re: Ajax upgrade problem
Dec 01, 2009 03:01 PM|LINK
It seems that it doesn't like referencing the System.Web.Ajax.dll from the installation file for some reason. I now have it referencing the copy from my BIN directory in my actual project and it works fine now. Pretty sure I shouldn't be referencing this local copy, but its working for now so I won't complain.