[Mono-bugs] [Bug 76866][Wis] New - Null Reference exception on Page.GetPostBackEventReference

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 30 17:16:05 EST 2005


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

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

--- shadow/76866	2005-11-30 17:16:05.000000000 -0500
+++ shadow/76866.tmp.24219	2005-11-30 17:16:05.000000000 -0500
@@ -0,0 +1,39 @@
+Bug#: 76866
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: rogerio.araujo at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Null Reference exception on Page.GetPostBackEventReference
+
+In my custom control i use Page.GetPostBackEventReference(control) to add
+event handling to an desired control inside a collection. But when this
+control is rendered i got and NullRefereceException.
+
+
+Steps to reproduce the problem:
+1. Grab the aspx page attached.
+2. Grab the assembly attached too.
+3. Put the assembly inside a bin folder and load the page in the browser.
+
+Actual Results:
+A NullReferenceException .
+
+Expected Results:
+The postback event reference added to the control.
+
+How often does this happen? 
+Ever.
+
+Additional Information:
+I can provide the sources if need.


More information about the mono-bugs mailing list