[Mono-bugs] [Bug 77924][Maj] New - xsp works with basic code from microsoft tutorial and xsp2 dosn't

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Mar 26 12:03:27 EST 2006


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 krzysztof.gorgolewski at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=77924

--- shadow/77924	2006-03-26 12:03:27.000000000 -0500
+++ shadow/77924.tmp.20356	2006-03-26 12:03:27.000000000 -0500
@@ -0,0 +1,60 @@
+Bug#: 77924
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: XSP
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: krzysztof.gorgolewski at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: xsp works with basic code from microsoft tutorial and xsp2 dosn't
+
+Description of Problem:
+The following code works in xsp and doesn't work in xsp2. Still it's basic
+functionality from "getting started" tutorial at Microsoft.
+
+Steps to reproduce the problem:
+1. Create new aspx test.aspx :
+
+<html>
+   <script language="C#" runat=server>
+       void SubmitBtn_Click(Object sender, EventArgs e) {
+           Message.Text = "Hi " + HttpUtility.HtmlEncode(Name.Text) + ",
+you selected: " + Category.SelectedItem;
+       }
+   </script>
+   <body>
+       <center>
+       <form action="test.aspx" method="post" runat="server">
+           <h3> Name: <asp:textbox id="Name" runat="server"/>
+           Category:  <asp:dropdownlist id="Category" runat=server>
+                         <asp:listitem>psychology</asp:listitem>
+                         <asp:listitem>business</asp:listitem>
+                         <asp:listitem>popular_comp</asp:listitem>
+                      </asp:dropdownlist>
+           </h3>
+           <asp:button text="Lookup" OnClick="SubmitBtn_Click" runat="server"/>
+           <p>
+           <asp:label id="Message" runat="server"/>
+       </form>
+       </center>
+   </body>
+</html>
+
+2. run xsp and test the button onclick (should work)
+3. run xsp2 and test the button onclick (doesn't work)
+
+Actual Results:
+It works only in xsp..
+
+Expected Results:
+...and should also in xsp2
+
+I've tested it using v. 1.1.10 and 1.1.13 (same results)


More information about the mono-bugs mailing list