[Mono-dev] test/html/button.aspx failes with xsp 1.1.9

Chris Toshok toshok at ximian.com
Sun Sep 18 19:00:31 EDT 2005


Could you post the complete imagebutton sample?  my image button test
work fine.

Chris

On Thu, 2005-09-15 at 11:02 +0000, Jens Peters wrote:
> 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list



More information about the Mono-devel-list mailing list