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 )

18124 put(a) pogledan, 7 odgovor(a) 2.3.2012. 22:22:48Kreirao(la) shawndg
shawndg

shawndg

2.3.2012. 22:22:49
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/
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
shawndg

shawndg

3.3.2012. 1:50:57
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 =/

Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
khorvat

khorvat

3.3.2012. 15:15:34
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
shawndg

shawndg

30.3.2012. 21:14:44
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..
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
shawndg

shawndg

30.3.2012. 21:34:46
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 =/
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
shawndg

shawndg

30.3.2012. 21:52:56
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 ?
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
khorvat

khorvat

31.3.2012. 20:08:32
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava