MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

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

Viewed 16544 time(s), 7 post(s) 3/2/2012 10:22:48 PMby shawndg
shawndg

shawndg

3/2/2012 10:22:49 PM
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/
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

3/3/2012 1:50:57 AM
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 =/

This content has not been rated yet. 
1871 Reputation 252 Total posts
khorvat

khorvat

3/3/2012 3:15:34 PM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
shawndg

shawndg

3/30/2012 9:14:44 PM
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..
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

3/30/2012 9:34:46 PM
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 =/
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

3/30/2012 9:52:56 PM
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 ?
This content has not been rated yet. 
1871 Reputation 252 Total posts
khorvat

khorvat

3/31/2012 8:08:32 PM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts