[Mono-bugs] [Bug 77278][Nor] Changed - [2.0] Setting masterpage in OnPreInit causes null reference exceptions when referencing controls on the page

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 27 02:23:46 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 toshok at ximian.com.

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

--- shadow/77278	2006-01-27 02:21:53.000000000 -0500
+++ shadow/77278.tmp.4655	2006-01-27 02:23:46.000000000 -0500
@@ -167,6 +167,11 @@
 ------- Additional Comments From toshok at ximian.com  2006-01-27 02:21 -------
 So it seems that the content templates aren't being re-applied to the
 new MasterPage - the NRE is from the reference to lblHelloWeb, which
 is in a content template.
 
 I've got a patch that fixes the problem, dunno how pretty it is..
+
+------- Additional Comments From toshok at ximian.com  2006-01-27 02:23 -------
+Created an attachment (id=16405)
+patch to System.Web/System.Web.UI that fixes the bug
+


More information about the mono-bugs mailing list