[Mono-list] Shameless plug, was mono problems with Ajax
Miguel de Icaza
miguel at novell.com
Fri Jun 6 09:29:28 EDT 2008
Hello,
That FAQ question was outdated. Mono has supported ASP.NET AJAX for quite a while. I have now updated the page accordingly.
>>> "Damien Miller" <damien.miller at cometway.com> 06/05/08 4:39 PM >>>
Hi Ferdinand,
My company makes a C# websever that will run Atlas.
The download includes a demo of running MS AJAX so you can see how it works.
Finally, note that one of the scripts included with AJAX will NOT compile
under mono so you can't use any refs to that script.
Our server is at www.neokernel.com
Hope this helps,
Damien Miller
From the FAQ on the mono site
>>>>>>>>>>>>>>>>>>>>>>>
Does Mono support Atlas?
Mono does not support Atlas (now called ASP.NET AJAX)
There was some early work done to support an early version of Atlas,
but the code was not complete, we do not ship it, it is outdated and is
not currently being maintained.
>>>>>>>>>>>>>>>>>>>>>>>>
From: Ferdinand Funke <dr_doom1983 at yahoo.de>
Subject: [Mono-list] ASP.Net AJAX with Mono?
To: mono-list at lists.ximian.com
Message-ID: <132139.74672.qm at web26605.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=utf-8
Hello list,
I am just trying out the ASP.Net AJAX extensions under .Net and Mono.
Therefore I created a rather simple WebApp with just a SciptManager control
on the site.
Here's the code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"
Inherits="AjaxTest._Default" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; >
<head runat="server">
<title>Unbenannte Seite</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div>
</div>
</form>
</body>
</html>
With .Net it all works fine, but with Mono I get a strange error:
Server Error in '/' Application
________________________________
Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace:
System.NullReferenceException: Object reference not set to an instance of an
object
at System.Web.UI.ScriptManager.OnPreRenderComplete (System.Object sender,
System.EventArgs e) [0x00000]
at System.Web.UI.Page.OnPreRenderComplete (System.EventArgs e) [0x00000]
at System.Web.UI.Page.ProcessLoadComplete () [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000]
________________________________
Version information: Mono Version: 2.0.50727.42; ASP.NET Version:
2.0.50727.42
I placed the System.Web.Extensions.dll from the Mono directory in the the
/bin directory of the application, but the error stays the same. The error
also appears when I place more AJAX controls on the site than just the
ScriptManager.
Is there anything I missed?
Any help would be greatly appreciated.
Best regards,
Ferdinand
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list