Hello,

I just installed mono/xsp 1.1.9. Its looking really cool so far, a lot of strange things with the old xsp are gone!! Gongratulations.

But I'm facing the same problem as described here:
http://lists.ximian.com/pipermail/mono-devel-list/2005-September/014639.html

The sample provided in the provided answer works:
http://lists.ximian.com/pipermail/mono-devel-list/2005-September/014645.html

but eg. the provided button.aspx in xsp-1.1.9/test/1.1/html doesn't:

<%@ Page Language="C#" %>
*<html>*
*<head>*
        *<script* runat="server"*>*
*void* Button1_OnClick(object Source, EventArgs e) {
                HtmlButton button = (HtmlButton) Source;
                *if* (button.InnerText == "Enabled 1"){
                        Span1.InnerHtml="You deactivated Button1";
                        button.InnerText = "Disabled 1";
                }
                *else* {
                        Span1.InnerHtml="You activated Button1";
                        button.InnerText = "Enabled 1";
                }
        }

        *</script>*
*</head>*
*<body>*
        *<h3>*HtmlButton Sample*</h3>*
*<form* id="ServerForm" runat="server"*>* *<button* id=Button1 runat="server" OnServerClick="Button1_OnClick"*>*
                Button1
                *</button>*
                &nbsp;
                *<span* id=Span1 runat="server" */>*
        *</form>*
*</body>*
*</html>*


Another sample:

*<asp:imagebutton* id="btnSubmit" runat="server" onClick="SubmitClicked" 
imageurl="Images/buttonSubmit.gif" alternatetext="Submit" */>*

SubmitClicked() comes from the codebehind page, but isn't emitted at all after clicking.

Any ideas?

Regards,
Jens
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to