locked
Ajax toolkit confusion over different versions of Visual Studio RRS feed

  • Question

  • User-373571878 posted

    Hello,

    I am converting a VS 2008 website to VS 2012 and I am confused about the AJAX control toolkit.

    What version of the toolkit should I run in 2012?  The version coming over from the 2008 site is:

    <add assembly="AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"/>

    Also has anything change when using the ajaxcontroltoolkit and what is and how does it relate to NuGet.core?

    I must have inadvertently brought in two versions of ajax in 2012, because I have two sets of AJAX controls in my tool box.

    How can I drop one and keep the correct one? 

    Thanks

    Thursday, March 10, 2016 7:46 PM

Answers

  • User61956409 posted

    Hi Mike,

    As far as I know, it seems that Visual Studio 2010 and higher support AJAX Control Toolkit v15.1, I’m not sure whether installing v15.1 could corrupt your project with Visual Studio 2008. You could make backup for your applications and test it.

    Besides, I find that you post a new thread for this question, so please ask one main question in one thread. As for this issue, we could discuss in your new post.

    https://forums.asp.net/t/2088013.aspx

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 16, 2016 3:10 AM

All replies

  • User61956409 posted

    Hi Mike,

    I am converting a VS 2008 website to VS 2012 and I am confused about the AJAX control toolkit.

    What version of the toolkit should I run in 2012? 

    As far as I know, Visual Studio 2010+ support AJAX Control Toolkit v15.1. You could refer to the following article to upgrade your project to AjaxControlToolkit v15.1.

    https://ajaxcontroltoolkit.codeplex.com/wikipage?title=Upgrade%20your%20project%20to%20AjaxControlToolkit%20v15.1&referringTitle=Documentation

    Best Regards,

    Fei Han

    Friday, March 11, 2016 1:54 AM
  • User-373571878 posted

    Thank you Fei Han,

    I am still not sure what to do.

    I can run the web site locally without any issues.

    But when I try and run it on the production server I get this error:

    Could not load file or assembly 'AjaxControlToolkit, Version=3.5.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The system cannot find the file specified.

    First question, is it okay to have two versions of Ajax running?  If not I would like to remove the older one, and before installing v15 or not installing it at all, will the Ajaxcontroltoolkit 4.5 version run without issue. If so I would leave it at that. 

    Plus are all tools available in each version?  I use the CalendarExtender and I see that it is one of the controls that is not repeated in my Toolbox.

    In my Reference Manager under Browse/Recent I see the AjaxControltoolkit.dll in the list (all though it is not checked) and there is the .dll in my Bin folder.

    I feel like I am going in circles.   I don't want to make things worse by removing or adding something that needs to be in there, but the two versions seem to be complicating things.  Right now it works on my local machine...so why not on the production server?

     thanks for your time.

    Friday, March 11, 2016 3:19 PM
  • User61956409 posted

    Hi Mike,

    From the link I provided, we could find that we need to remove previous versions before installing ASP.NET AJAX Control Toolkit v15.1.

    Best Regards,

    Fei Han

    Tuesday, March 15, 2016 8:07 AM
  • User-373571878 posted

    Thank you Fei Han,

    I am attempting to install V15.

    1) When I click the download for V15, in the Install window it is showing that it wants to download V16.1?

    2) And the message states: 'Dev Express installation Wizard will detect all versions of MicroSoft Visual Studio on this computer and will install ASP.NET Ajax Control Toolkit VSIX package for each version it Locates.'

    This troubles me, as I have VS 2008 installed and I am concerned that it will corrupt that version and all of the applications that are working with AJAX 3.5.

    How can I only install it for Visual Studio 2012?

    Tuesday, March 15, 2016 2:47 PM
  • User61956409 posted

    Hi Mike,

    As far as I know, it seems that Visual Studio 2010 and higher support AJAX Control Toolkit v15.1, I’m not sure whether installing v15.1 could corrupt your project with Visual Studio 2008. You could make backup for your applications and test it.

    Besides, I find that you post a new thread for this question, so please ask one main question in one thread. As for this issue, we could discuss in your new post.

    https://forums.asp.net/t/2088013.aspx

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, March 16, 2016 3:10 AM