[Mono-list] Problem with ASP.NET

Josef El-Rayes j.el-rayes@daemon.li
Fri, 2 May 2003 23:14:00 +0200


--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

hi!

i wrote a simple example which is using code behind. i testet it with IIS5
and .NET on windows xp where it ran without errors. when i run it on xsp-0.3
and mono-0.23 on debian linux, it runs without errors but it does not behave
correctly, the label stays empty, which should contain text.

i was not able to find out why this happens!

i attach the according two files, i would appreciate if anyone can help me
resolve this issue.

-josef

ps: please cc me as i am currently not subscribed to this list.
-- 
www: http://www.daemon.li
nic-hdl: JER1080312-NICAT
FreeBSD PortMaintainer 
"Make World - Not War!"
--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="events.aspx"

<%@ Page Language="C#" Inherits="Eventspage" Src="events.aspx.cs" %>
<html>
<head>
    <title>test</title>
</head>
<body>
    <form runat="server">
        <asp:Label id="text" Runat="server"></asp:Label>
    </form>
</body>
</html>

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="events.aspx.cs"

using System;
using System.Data;
using System.Data.Common;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

public class Eventspage : Page
{

	public Label text;

	
	public void Page_Init(object sender, EventArgs e)
	{
		text.Text = "huhu";
	}				
}

--liOOAslEiF7prFVr--