[Mono-devel-list] Starting problems with ASP.NET
Bec-Penya, Luis {IT-O~Terrassa}
luis.bec-penya at Roche.COM
Wed Mar 10 07:36:01 EST 2004
I have just install mono and xsp on Linux RedHat 9.0. All the examples
from http://localhost/mono/index.aspx works perfectly well, but when I
copy & paste a little example from other place ( www ) doesn't work. I
know that I'm doing something wrong... Can you help me?
If I try with this archive "Button.aspx" it doesn't work. Why?
<script runat="server">
Sub button1(Source As Object, e As EventArgs)
p1.InnerHtml="You clicked the blue button!"
End Sub
Sub button2(Source As Object, e As EventArgs)
p1.InnerHtml="You clicked the pink button!"
End Sub
</script>
<html>
<body>
<form runat="server">
<button id="b1" OnServerClick="button1"
style="background-color:#e6e6fa;
height=25;width:100" runat="server">
Blue button!
</button>
<button id="b2"
OnServerClick="button2"
style="background-color:#fff0f5;
height=25;width:100" runat="server">
Pink button!
</button>
<p id="p1" runat="server" />
</form>
</body>
</html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040310/b9f54ed5/attachment.html
More information about the Mono-devel-list
mailing list