AJAX :: Customized Calendar "AjaxControlToolKit Undefined" Problem In New AjaxControlToolKit
May 19, 2010
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
Before using toolkitscriptmanager control of ajaxcontroltoolkit 3.5 i was using scriptmanager and i have set the enablepagemethod = true then i can call the pagemethod asynchronously using javascript
[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.
I just recently updated to the latest version of the AjaxControlToolkit and now my TabContainers don't work (only thing i'm using the toolkit for). It looks like the client code to make the correct tab visible is never getting called. The error I'm getting with Firefox is "Sys.Extended is undefined", and with IE I get "'Sys.Extended.UI' is null or not an object".
I'm using the .NET framework 3.5
1). I already changed all the ScriptManagers in my project to ToolkitScriptManagers per a javascript error message I was getting earlier.
2). I already checked my web.config and it looks good:
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?
recently I start using AjaxControlToolkit 3.0.31106.0 and now i suddenly get an errors saying "Sys._ScriptLoader is undefined". Does the Sys._ScriptLoader not exist anymore and if so what is the alternative.
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 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 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.
I see that I have version 3.0.20229.0 of ajaxcontroltoolkit.dll on a server and on my local machine I have version 3.0.0.20820.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.
I have two different version of AjaxControlToolkit dll and I have added reference of both dll in my web application. I also set up different tagprefix for both the version.
I am new to ajax. here's the problem I have. in my bin folder, I have so many different copies of AjaxControlToolkit.resources.dll in different languages.
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.
Source Error:
[Code]....
[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.
[Code]....
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.
Got a list of these errors after installing ajaxcontroltoolkit for VS2005 "requiredPermission attribute not decalred" "could not find schema for Element ElementName"
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 don't know what should I write as PublicKeyToken, I'm getting Cannot resolve symbol 'AjaxControlToolkit' and, of course, my UserControls that use the AjaxControlToolkit are giving me error.
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.
Previously, only one debug version of a JavaScript file was included for each control. This was then stripped of newlines and comments before building in release mode to embed these modified files in the output dll. However, now the solution has both the debug.js and .js versions (debug and compressed versions, respectively) included in the solution for each control.
My question is, if I desired to make changes to the debug versions of the JavaScript file for any control, does the compressed version of the file get generated automatically or is there some manual action I need to take to produce those files? It appears as though with this solution there are no integrated build tasks as in the previous versions so I feel like my latter suspicion may be correct but was hoping for input from somebody who knows more about this.
I do not like the idea of including overriden methods of toolkit funtions in my site's JavaScript, I am just curious how I would go about producing the release version of the script. In other words, how would the developers that work on the AjaxControlToolkit do this when working with the solution.\ | m ny;[6n n
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).