[Mono-bugs] [Bug 36037][Nor] Changed - Page_Load and CreateChildControls

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
3 Jan 2003 01:17:23 -0000


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 gonzalo@ximian.com.

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

--- shadow/36037	Sun Dec 22 02:29:03 2002
+++ shadow/36037.tmp.22592	Thu Jan  2 20:17:23 2003
@@ -1,14 +1,14 @@
 Bug#: 36037
 Product: Mono/Class Libraries
 Version: unspecified
 OS: All
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: System.Web
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: kojoadams@hotmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -36,6 +36,16 @@
        Controls.Add( new LiteralControl("hi") ));
     }
 </script>
 
 
 expected output is hi
+
+------- Additional Comments From gonzalo@ximian.com  2003-01-02 20:17 -------
+The correct CreateChildControls method for the page is:
+	protected override void CreateChildControls ()
+	{
+		Controls.Add (LoadControl ("~/load.ascx"));
+	}
+
+If you use Server.MapPath, IIS complains saying that the path is a
+physical path.