[Mono-bugs] [Bug 82783][Wis] New - Asynchronous web pages for 2.0 do not work

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 10 14:53:40 EDT 2007


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

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

--- shadow/82783	2007-09-10 14:53:40.000000000 -0400
+++ shadow/82783.tmp.4897	2007-09-10 14:53:40.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 82783
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: mhabersack at novell.com                            
+ReportedBy: sloncho at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Asynchronous web pages for 2.0 do not work
+
+Description of Problem:
+When trying to use asynchronous (async) web pages (new for ASP.Net 2.0),
+the page fails to work.
+
+Steps to reproduce the problem:
+1. Create a ASP.NET web page with:
+a) set Async="true" in the @PAGE directive
+b) in the code behind, in Page_Load method add:
+AddOnPreRenderCompleteAsync(
+                new BeginEventHandler(BeginAsyncOperation),
+                new EndEventHandler(EndAsyncOperation)
+            );
+c) The 2 methods for the delegates has this signature:
+IAsyncResult BeginAsyncOperation(object sender, EventArgs e, 
+            AsyncCallback cb, object state)
+void EndAsyncOperation(IAsyncResult ar)
+
+2. Build and run the page
+
+Actual Results:
+Exception is thrown, complaining that IsAsync==false;
+
+Expected Results:
+The page to work in async fassion, as described here:
+<http://msdn2.microsoft.com/en-us/library/x7x879yk.aspx>
+
+How often does this happen? 
+Always


More information about the mono-bugs mailing list