[Mono-bugs] [Bug 66231][Wis] New - Parsing error in ASP.NET page with VB.NET code

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 18 Sep 2004 21:02:08 -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 rogerio.araujo@gmail.com.

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

--- shadow/66231	2004-09-18 21:02:08.000000000 -0400
+++ shadow/66231.tmp.25490	2004-09-18 21:02:08.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 66231
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Basic
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: rogerio.araujo@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Parsing error in ASP.NET page with VB.NET code
+
+When i try to compile an ASP.NET page with VB.NET code i got a error with
+this line of code.
+
+AddHandler __ctrl.Click, AddressOf Me.FiltroAlterado
+
+
+Steps to reproduce the problem:
+Just place a button on any aspx page like this code:
+<asp:Button id="btn" Text="Pesquisar" OnClick="FiltroAlterado"
+runat="server"/>				
+
+and this code for the method:
+<script runat="server">
+   sub Page_Load (o as object, e as EventArgs) 
+   end sub	
+		
+   sub FiltroAlterado (sender as object, e as EventArgs)
+   end sub	
+</script>	
+
+
+Actual Results:
+A parsing error
+
+Expected Results:
+The page generated without any errors and the FiltroAlterado method mapped
+to my control.