[Mono-bugs] [Bug 49906][Wis] New - Using a form inside ascx generates invalid code

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 20 Oct 2003 20:57:43 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.


--- shadow/49906	2003-10-20 20:57:43.000000000 -0400
+++ shadow/49906.tmp.1694	2003-10-20 20:57:43.000000000 -0400
@@ -0,0 +1,41 @@
+Bug#: 49906
+Product: Mono/Class Libraries
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Using a form inside ascx generates invalid code
+Description of Problem:
+The following, valid, sample has rendering problems in Mozilla 1.4.
+Steps to reproduce the problem:
+<%@ Register TagPrefix="test" TagName="control" Src="t.ascx" %>
+<html><body><test:control runat="server"/></body></html>
+<script language="C#" runat="server">
+void Clicked (Object sender, EventArgs e) { btn.Text="PASS!"; }
+<form runat="server"><asp:LinkButton id="btn" Text="Push me!"
+OnClick="Clicked" runat="server" /></form>
+Actual Results:
+When you go to default.aspx and click "Push me" nothing happens. If you
+open the JavaScript console you will notice:
+theform has no properties
+In http://localhost:8080/default.aspx, Line 12
+Expected Results:
+The text Push me is replaces with "PASS!"