AJAX :: Which AjaxControlToolkit.dll Should Be Used
Jan 10, 2011
I have downloaded Asp.Net Extension 1.0 and extract it.
Each AjaxControlToolkit.dll is keep in folder (ar,es,de,fr ... ) .There is also one AjaxControlToolkit.dll which is not inside any folder.
My question is which AjaxControlToolkit.dll should be used? I need to have all the AjaxControlToolkit.dll inside my bin folder? or I pick it according to my country? What if my web site is multilingual?
I just downloaded the latest AjaxControlToolKit.dll (3.5.40412.0), and update it in my old project. When I compile the project, it shows sucessful. However, when I used my Customized Calendar, it got "AjaxControlToolKit Undefined"
ps: my old project is developed under AjaxControlToolKit.dll (3.0.20820.16598) . // README
I am using 'TextBoxWatermarkExtender'.code compiles fine but when i run the application, i get the following js 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 have installed all necessary things, am i missing something.
Moved our web application from W2003 & IIS6 to W2008 R2 & IIS7.5 . One of the first things we discovered was to set the Application Pool in "Classic" mode. However we are still not out of the woods. We are having a AjaxControlToolKit error. I have attached a screenshot but in summary, the first line of code referring to the AjaxControlToolKit is flagged in error, Type.registerNamespace('AjaxControlToolkit'); The Debugger throws the error text below: 'Type' is undefined Default.aspx?
I see that I have version 3.0.20229.0 of ajaxcontroltoolkit.dll on a server and on my local machine I have version 22.214.171.12420.0 of ajaxcontroltoolkit.dll in a AjaxControlToolkit-Framework3.5SP1 directory. So does 3.0.20229.0 correspond to 3.5 pre sp1?
I found the following at http://www.ajaxcontroltoolkit.com/Default.aspx:
This release includes over 10 patch fixes provided by members of the Toolkit community. We would like to specially thank all the patch contributors for their effort which helped make this release possible. We recognize their names on the
Toolkit Patch Hall of Fame.
Setting up the environment to use the Toolkit: This Toolkit release targets two different versions of the .NET Framework:
Version 3.5.20229 for .NET Framework 3.5 and Visual Studio 2008: Download the AjaxControlToolkit-Framework3.5.zip or AjaxControlToolkit-Framework3.5-NoSource.zip.
Version 1.0.20229 for ASP.NET AJAX version 1.0 and .NET Framework 2.0:
Download the AjaxControlToolkit.zip or AjaxControlToolkit-NoSource.zip.
Note: Toolkit version 3.5.20229 is only for users who are building on top of .NET Framework 3.5 using Visual Studio 2008. If you are using .NET Framework 2.0 and Visual Studio 2005 then you should use Toolkit version 1.0.20229.
It sounds like the Toolkit version does NOT correspond to the version of ajaxcontroltoolkit.dll.
[URL] For More Information see this link for pagemethods in ajax
But yesterday we updated our ajax dll to latest version which is 3.5.40412.0 and there they have said that use toolkitscriptmanager instead of scriptmanager so i used that. But now i am not able to use my page methods.
An error occurred during the parsing of a resource required to service this request. review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load file or assembly 'AjaxControlToolkit.dll' or one of its dependencies. The system cannot find the file specified.
[No relevant source lines]Source File: none Line: 0 Assembly Load Trace: The following information can be helpful to determine why the assembly 'AjaxControlToolkit.dll' could not be loaded.
WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLMSoftwareMicrosoftFusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLMSoftwareMicrosoftFusion!EnableLog].
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3614
I am using Ajax on a Sharepoint 2007 website and I have copied in the AjaxControlToolkit.dll into the bin folder.
Method CreateModalUpdateProgress Details Could not load file or assembly 'AjaxControlToolkit, Version=1.0.20229.20903, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Stack Trace MyWebParts. HelperClasses. WebPartControlFactory. CreateModalUpdateProgress (Control controlToAddTo) MyWebParts. BaseClasses. BaseWebPart. CreateChildControls()
Please contact a system administrator and provide them with these details
I have an ASP.NET AJAX application, which is using .NET Framework 3.5. I have visual Studio 2008 installed on my developer machine. The AjaxControlToolKit dlls I have installed in my system right now come from the file "AspNetAjaxLibraryBeta0911.zip". The released date of the dlls in the file is 12/29/2009. Exploring the AjaxControlToolKit download site, I found that there is a more updated version, which release date was April 12th 2010.
I tried to update the AjaxControlKit.dll version to the newest one. I did this creating a path in my system: c:Program FilesAjaxControlToolKitWebFormsRelease then I placed there the new AjaxControlToolKit.dll and AjaxControlToolKit.pdb files. Then I right clicked on the name of the dll inside my Bin directory in my application and selected "Update Reference". After I did this I tested the application and is giving me Jscript error messages like: "htmlfile: member not found", or Microsoft Jscript Runtime error "lenth is null or not an object". I don't get these error messages if I come back to the previous version of the AjaxControlToolKit.
I am using Slider Extender for the very first time and i am not able to figure out why am i facing this problem, the problem is mentioned below :I kept the slider extender, Script Manager and 2 text boxes(one for TargetControl and one for BoundControl), i have given all required values (i.e. Maximum, minimum, steps etc.) now the slider should load on page load. Although the slider is loading on page load but the Bar of the slider is coming out of position. The same thing when i did with Orientation as Horizontal it worked properly but for Vertical orientation it is giving the above problem.
All my web applications are using AjaxControlToolkit 1.0 version. But I have one third party website that is using AjaxControlToolkit 3.5. When I run that third party website I got the following error.
The type 'AjaxControlToolkit.DropDownExtender' exists in both 'c:WINDOWSassemblyGAC_MSILAjaxControlToolkit3.5.11119.20050__28f01b0e84b6d53eAjaxControlToolkit.dll' and 'c:WINDOWSassemblyGAC_MSILAjaxControlToolkit1.0.20229.20821__28f01b0e84b6d53eAjaxControlToolkit.dll'
I do have assembly reference at server level web.config
We get this Warning in the Event Log from time to time. It seems to crasch our web so an iisreset is required.I have checked the version of AjaxControlToolkit that we use - and it is the version it says it needs. So what should I do?
Exception information: Exception type: InvalidOperationException Exception message: The requested script resource 'Common.Common.js' requires version 'AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' of the ASP.NET AJAX Framework. To use this resource, make sure that the application references version 'AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e'.
I built a page with a cascading dropdown extension tied to a db, (and another one to xlm source), which was working fine. then I tried to update my ajaxcontroltoolkit.dll becuase I had an old version, then the sudden the all the data in the dropdown lists is lost.
I was working with the previous version of the AjaxControlToolkit (I had the source project in my solution, just in case I needed to debug something) and everything worked ok, now I've downloaded the lastest build (40412) and I've choosen to remove that project and only use the binaries (of 40412). I added this line in the web.config (inside <controls>) to have it prepared for all the pages, and avoid the need to use the @register in each one of them <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxtoolkit"/>
I have downloaded the source code for the latest version of the AjaxControlToolkit and have noticed that there are differences in the scripts included in the solution.
I coverted a VS 2008 project to VS 2010. I then downloaded and installed the AjaxControlToolkit for .net 4. When I run in debug mode I get an the following error. The code worked in VS 2008 .net 3.5. No Source Available There is no source code available for the current location. Call stack location:
The file 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs' does not exist.
Looking in script documents for 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'... Looking in the projects for 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'.
The file was not found in a project.
Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCcrtsrc'... Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCatlmfcsrcmfc'... Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCatlmfcsrcatl'... Looking in directory 'C:Program Files (x86)Microsoft Visual Studio 9.0VCatlmfcinclude'... Looking in directory 'C:'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file:d:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs. The debugger could not locate the source file 'd:hgactServerAjaxControlToolkitToolkitScriptManagerToolkitScriptManager.cs'.
trying to get the latest version of ACT I have (3.0.31106) working with a VS 2010 website, targetting .Net 4.0.
I have researched this and can't find a definitive answer.
I was using the AutoComplete Extender with no problems in VS2008 (ACT version 3.0.30512.1).
In creating this new VS2010 website I thought I ought to also check and get the latest version of the ACT.
Now, when running the new website I get the error other people get,
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.
What is the best approach here? I don't see the point ofusing the ToolkitScriptManager when the website already has the regular v4.0 ScriptManager.
I seem to have resolved this - fingers crossed - by downloading source version 49157 and then opening the .Net4 soultion file and building in VS2010. Then I got the AjaxControlToolkit.dll file from this project for use in my new website. This works fine now (for the autocomplete extender, at least).
I am on .net 2.0 and using the Ajax calendar on ajaxcontroltoolkit version 1.0.10920.32880 and am using the multi-language capability built in. There is one issue. The word "Today" doesn't get translated. I have tried an older version of ajaxcontroltoolkit and the word "Today" does get translated. In the1.0.10920.32880 there is the ability to set the popup position of the calendar control and in the older version where the "Today" translation works it doesn't. Even in the sample source code of the ajaxcontrol tool kit the word today doesn't get translated when I set the culture to a culture other than english.
Is there a version that works with asp.net 2.0 that the translation works?
I have downloaded a dll that is for Glowish effects to Buttons. But the problem is that , Extender needs reference to an older version of AjaxControlToolkit, and in my project i have already used many controls based on that recent version. That i cannot change. How can i use this GlowExtender with the latest version of AjaxControlToolkit ?