Re: [Mono-dev] Question about AjaxToolkit and System.Web.Extensions on Mono
On Wed, 1 Oct 2008 14:47:52 -0400 "Karel Tamayo" <[EMAIL PROTECTED]> wrote: > Hi everybody: > > I'd be glad if anyone could help me here. > > I'm running a web application on mono. I did port it from asp.net using > moma and although I was using VS 2008 I was targeting .net framework 2.0 to > be OK with compatibility issues. > > I got the System.Web.Extensions.dll for the mono framework and copied in > Bin folder of my application. > > The application runs perfectly but the Ajax stuff are not working at all. > I mean, I can load the page in which I have 2 linked dropdowns with states > and municipalities data but, the update panel in which both are contained > doesn't work. My page is making a full postback to the server every time I > change the selected item of the states dropdown. > > I checked the error console and then I sow that the initialization script > is setting this error message: > *Error: ASP.NET Ajax client-side framework failed to load.* > > Where do I have to copy the toolkit, the extensions? What am I missing??? You don't need the Microsoft System.Web.Extensions.dll, Mono ships its own version. All you need to do is to is to provide appropriate Web.config options. To add them to your existing config or create a new Web.config, issue this command (assuming you're running Mono 1.9 or later): mconfig af -t:web AJAX As for the Ajax Control Toolkit - download their demos, but make sure you're downloading the version for .NET 2.0, the 3.5 version might still give problems. Run xsp2 in the toolkit demos toplevel dir and everything should work as expected. regards, marek ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Question about AjaxToolkit and System.Web.Extensions on Mono
I remember even last year Ajax and Ajax Control Toolkit was working flawlessly on mono and linux. Thanks to Marek. The thing is you cannot use .NET System.Web.Extension (and it would be illegal to do so). Mono has own assembly with the same name. Try that. I ensure you it was working even 1 year ago. So you should be missing something Good luck 2008/10/1 Karel Tamayo <[EMAIL PROTECTED]>: > Hi everybody: > > I'd be glad if anyone could help me here. > > I'm running a web application on mono. I did port it from asp.net using > moma and although I was using VS 2008 I was targeting .net framework 2.0 to > be OK with compatibility issues. > > I got the System.Web.Extensions.dll for the mono framework and copied in > Bin folder of my application. > > The application runs perfectly but the Ajax stuff are not working at all. > I mean, I can load the page in which I have 2 linked dropdowns with states > and municipalities data but, the update panel in which both are contained > doesn't work. My page is making a full postback to the server every time I > change the selected item of the states dropdown. > > I checked the error console and then I sow that the initialization script > is setting this error message: > Error: ASP.NET Ajax client-side framework failed to load. > > Where do I have to copy the toolkit, the extensions? What am I missing??? > > Any help will be much appreciated. > > Thanks in advance, > Karel. > > ___ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list > > ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Question about AjaxToolkit and System.Web.Extensions on Mono
Hi everybody: I'd be glad if anyone could help me here. I'm running a web application on mono. I did port it from asp.net using moma and although I was using VS 2008 I was targeting .net framework 2.0 to be OK with compatibility issues. I got the System.Web.Extensions.dll for the mono framework and copied in Bin folder of my application. The application runs perfectly but the Ajax stuff are not working at all. I mean, I can load the page in which I have 2 linked dropdowns with states and municipalities data but, the update panel in which both are contained doesn't work. My page is making a full postback to the server every time I change the selected item of the states dropdown. I checked the error console and then I sow that the initialization script is setting this error message: *Error: ASP.NET Ajax client-side framework failed to load.* Where do I have to copy the toolkit, the extensions? What am I missing??? Any help will be much appreciated. Thanks in advance, Karel. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list