How can i upgrade ajax to version 4.0 ?

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.
3/11/2013 9:04:19 AM
Gravatar
Total Posts 50

How can i upgrade ajax to version 4.0 ?

Hi , 

I try to copy the ajax dll files to replace the current ajax in the bin folder ,but it give me "Could not load file or assembly 'AjaxControlToolkit_' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

Any one can help, so that i can upgrade the ajaxtoolkit to latest jan 2013 version ? 

thanks 

3/11/2013 9:53:19 AM
Gravatar
Total Posts 18439

Re: How can i upgrade ajax to version 4.0 ?

Only way you could do that would be to compile your own build of the mojoPortal from source code and update the references to the version you want to use. Other than that you would have to wait until if/when we update it to a newer version.

3/11/2013 9:59:21 AM
Gravatar
Total Posts 50

Re: How can i upgrade ajax to version 4.0 ?

hi joe 

thanks for your reply. i don't quite get it what you mean . 

Yes i do have the source, and i have download the latest version of ajax for dot net 4.

So now i need to replace all the ajax dlls in the bin folder and recompile the mojo ? I try it b4,but the error still the same 

Or i need to remove the ajax dlls and add reference again ? 

3/11/2013 10:24:22 AM
Gravatar
Total Posts 50

Re: How can i upgrade ajax to version 4.0 ?

OK, done. just now rename the dll files, VS still ref to the old dll. 

i delete all the ajax dlls in bin folder and copy the latest version into bin . add ref from the bin. no everythings run fine. 

thanks 

3/11/2013 11:28:17 AM
Gravatar
Total Posts 18439

Re: How can i upgrade ajax to version 4.0 ?

Hi,

Actually you can upgrade to the newer version without rebuilding the source code. Just put the new dlls in the bin folder (don't change any names of dlls).

Then in Web.config you can use assembly mapping to make it use the new version in the <runtime> <assemblyBinding section add this:

<dependentAssembly>
        <assemblyIdentity name="AjaxControlToolkit"
            publicKeyToken="28f01b0e84b6d53e" />
        <bindingRedirect oldVersion="4.1.60623.0"
        newVersion="4.1.7.0123" />
      </dependentAssembly>

Hope that helps,

Joe

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