[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.


--- 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 Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: rogerio.araujo at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+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? 
+Additional Information:
+I can provide the sources if need.

More information about the mono-bugs mailing list