[Mono-bugs] [Bug 76919][Nor] New - Overriding Controls property has an improper effect

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Dec 5 15:04:21 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 eto at shaw.ca.


--- shadow/76919	2005-12-05 15:04:21.000000000 -0500
+++ shadow/76919.tmp.28262	2005-12-05 15:04:21.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 76919
+Product: Mono: Class Libraries
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: gentoo
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: eto at shaw.ca               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Overriding Controls property has an improper effect
+Description of Problem:
+When creating a base control or page to derive from that contains headers
+or other information, you would overrided the Controls property so that
+anything that derives from it will put the (additional) content where you
+want it.  If you do this in mono, then the base control/page controls do
+not get rendered, whereas in ms.net the controls do get rendered.
+This is pretty important for us to port our software to work with mono.
+Steps to reproduce the problem:
+1. Unzip attached example
+2. Run xsp and browse to the page
+3. Click on the 'Test dynamic form' link
+Actual Results:
+a) an exception is thrown because the LinkButton is rendered without the
+b) The controls added in BasePage and BaseControl aren't rendered to the
+page output
+Expected Results:
+The controls added in BasePage and BaseControl are rendered to the output
+html, as ms.net does
+How often does this happen? 
+every time
+Additional Information:

More information about the mono-bugs mailing list