Mono Support Monox - Is it possible to upgrade the Ajax Controls Tool Kit ? 

Viewed 17215 time(s), 7 post(s), 3/2/2012 10:22:48 PM - by shawndg
3/2/2012 10:22:49 PM
1871 Reputation 252 Total posts

Hi guys,

There is a lot of functionality in the new Ajax Controls Tool Kit that I am unable to take advantage..

I am able to only use the same version that MonoX uses..
v2.0.50727

Will you guys be upgrading to the latest kit any time soon ?

Is there a way to manually upgrade the tool kit to the latest version ?
http://ajaxcontroltoolkit.codeplex.com/

1
3/3/2012 1:50:57 AM
1871 Reputation 252 Total posts

Ok I tried a local fix to drag and drop it in..

Then I been fighting with the web.config..

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e"/>
<bindingRedirect oldVersion="3.0.30930.28736" newVersion="4.1.51116.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

But im still not getting anywhere =/

2
3/3/2012 3:15:34 PM
15993 Reputation 2214 Total posts

Hi,

this should be the fix as we have done it on several projects. Can you please try to use code similar to this and get back to us

<bindingRedirect oldVersion="0.0.0.0-4.0.8.0" newVersion="4.0.8.0"/>


Regards

3
3/30/2012 9:14:44 PM
1871 Reputation 252 Total posts

Ok I hacked at this some..
But I have no idea where to put this inside the web config or if this is correct..

<runtime>
<assemblyBinding xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0" >
<dependentAssembly>
<assemblyIdentity publicKeyToken="28f01b0e84b6d53e" />
<bindingRedirect oldVersion="0.0.0.0-4.0.8.0" newVersion="4.0.8.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

I am using the MonoX .net 4.0 web config..

Any help would be appreciated..

4
3/30/2012 9:34:46 PM
1871 Reputation 252 Total posts

I put it here..


</configSections>

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" Culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-4.1.51116.0" newVersion="4.1.51116.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

Still no luck =/

5
3/30/2012 9:52:56 PM
1871 Reputation 252 Total posts

Got it to work but not inside web config..

Added it to machine config..
Replaced the existing blank runtime tags..

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="AjaxControlToolkit" publicKeyToken="28f01b0e84b6d53e" Culture="neutral" />
<bindingRedirect oldVersion="1.0.0.0-4.1.51116.0" newVersion="4.1.51116.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

How can I get this to work on inside the MonoX web config ?

6
3/31/2012 8:08:32 PM
15993 Reputation 2214 Total posts

Hi,

we do this kind of binding all the time and it should work without the problem. You can even take a look at some other posts on the forum I have already provided some users with sample bindings. Here is one for you:

...
 
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
                <bindingRedirect oldVersion="0.0.0.0-4.0.8.0" newVersion="4.0.8.0"/>
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>


Regards

7
This is a demo site for MonoX. Please visit Mono Software for more info.