AjaxControlToolkit version

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/30/2009 9:30:00 AM
Gravatar
Total Posts 3

AjaxControlToolkit version

Hello
Revision 5184 consists file ...trunk\_libs\ajaxtoolkit\AjaxControlToolkit.dll with version =1.0.20229.25725.
Current AjaxControlToolkit version is 3.0.30512 (http://ajaxcontroltoolkit.codeplex.com/).
If I change files in ...trunk\_libs\ajaxtoolkit\* in my project and test it then I have not found errors with mojoPortal code. I think that I can missed this errors or there is no errors in this context.


Do you know any troubles with mojoPortal code after change version in ...trunk\_libs\ajaxtoolkit\* ?
 

5/30/2009 9:59:08 AM
Gravatar
Total Posts 18439

Re: AjaxControlToolkit version

Hi Aleksey,

I don't think there should be any problem upgrading. I will give it a try myself and if it seems ok I'll commit to trunk in the next few days.

Even if you replaced it in the _libs folder it still might be using the old version in the Web/bin folder, so be sure any copy it there too for testing. Let me know if you do encounter any troubles. I need to test it also with my paid products Event Calendar Pro and Form Wizard Pro, which both use this library.

Best,

Joe 

5/30/2009 10:19:04 AM
Gravatar
Total Posts 3

Re: AjaxControlToolkit version

thanks

6/2/2009 11:45:17 PM
b
Gravatar
Total Posts 13

Re: AjaxControlToolkit version

Using the compiled version of Mojoportal version 2.3.0.4 when I attempt to run the site using VS2008 in debug mode, I get the following error after changing the AjaxControlToolkit.dll in the bin folder to the most recent version.

"Error 75 Could not load file or assembly 'AjaxControlToolkit, Version=1.0.20229.25725, 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) "

Doing a search for the assembly reference that creates this error (through either the publickeytoken, version or assembly name) doesn't result in any hits in the project. So, what else needs to be changed in the compiled project to be able to just change the dll file without the debug mode coming up with this error?

PS - I am running on a shared server that likely has the AjaxControlToolkit dll loaded in the GAC.

6/3/2009 2:06:36 AM
Gravatar
Total Posts 3

Re: AjaxControlToolkit version

Hi b

It`s not mojoPortal error, it`s .net rule. You have error because project mojoportal.Web uses reference AjaxControlToolkit rating control with 1.0.20229.25725 version. You must use recompiled solution with your AjaxControlToolkit version or use 1.0.20229.25725 version from https://forgesvn1.novell.com/svn/mojoportal/trunk.

Best regards, Aleksey

6/3/2009 5:09:31 AM
Gravatar
Total Posts 18439

Re: AjaxControlToolkit version

Yes, as Aleksey says, the current release of mojoPortal was compiled with and depends on that specific version of the AjaxToolkit. I recently upgraded to the newest version in svn trunk so the next release of mojoportal will have the new version. Until then you will need to use the version that shipped with mojoPortal.

Hope it helps,

Joe 

6/3/2009 8:33:27 AM
b
Gravatar
Total Posts 13

Re: AjaxControlToolkit version

I would have thought that a short-term fix would be to add the following lines to the web.config file to redirect the assembly to bind to the new dll rather than the old one, but this also doesn't seem to work and I don't understand why not.  Can someone enlighten me?

code to add to web.config in <runtime> section (near the bottom of the web.config) between the <assemblybinding></assemblybinding> tags:

<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" PublicKeyToken="28f01b0e84b6d53e" />
<bindingRedirect oldVersion="1.0.20229.25725" newVersion="3.0.20820.16598" />
</dependentAssembly>
 

 

6/3/2009 8:35:20 AM
Gravatar
Total Posts 18439

Re: AjaxControlToolkit version

Its because it was compiled against a specific version with Specific Version = true in the reference. 

2/10/2010 11:49:07 AM
Gravatar
Total Posts 60

Re: AjaxControlToolkit version

Hi Joe,

There's some good stuff in the new latest AjaxControlToolkit 3.0.30930 - for instance I've had more success embedding the editor control in an Ajax Tab Container then the mojo editor control.  (Discovered this before breaking the rest of the site and then finding this thread!)

Any idea when this will be embedded into the mojo source?

Thanks

Ian

2/11/2010 12:42:03 PM
Gravatar
Total Posts 18439

Re: AjaxControlToolkit version

Hi Ian,

I updated my copy today to the very latest version of ASP Ajax and toolkit. It will be in svn by tonight.

Best,

Joe

2/21/2010 8:25:03 AM
Gravatar
Total Posts 18439

Re: AjaxControlToolkit version

Hi Ian,

Sorry to have tell you this, but I had to revert back to the older version of AjaxControl toolkit because the new version created a bug in my Form Wizard Pro product due to a bug in the ReorderList control in the newer versions of AjaxControlToolkit. I found it is a known bug but it is not fixed.

http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=17574

I will have to revisit this later.

Best,

Joe

2/27/2010 9:15:33 AM
Gravatar
Total Posts 60

Re: AjaxControlToolkit version

Ah - OK - fair enough - thanks for letting me know.  Hopefully they'll sort out the reorderlist bug soon.

In fact I've discovered that as part of my fiddlings I'd commented-out the SiteUtils.SetupEditor(edDescription);  line and this was causing the errors. 

Re-instating it has fixed my immediate problem, although the new Ajax bits would still be useful at some point!

All the best,

Ian

You must sign in to post in the forums. This thread is closed to new posts.