[Mono-bugs] [Bug 76663][Nor] New - Cannot set master page title using Title attribute

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 10 09:50:47 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 jwiegley at gmail.com.

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

--- shadow/76663	2005-11-10 09:50:47.000000000 -0500
+++ shadow/76663.tmp.23963	2005-11-10 09:50:47.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 76663
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: jwiegley at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Cannot set master page title using Title attribute
+
+In the typical usage of master pages in .NET 2.0, you put a bogus <title> in the master page, and 
+then use the following in your dependent pages:
+
+  <% Page ... Title="This Page's Title" %>
+
+However, the "TItle" attribute is not parsed by Mono at the moment.  The workaround is to do 
+this:
+
+  <% Page ... %>
+  <script runat="server">
+    void Page_Load() {
+      Master.Page.Head.Title = "This Page's Title";
+    }
+  </script>
+
+Since this is a very basic aspect of using master pages, I thought you guys would like to know. :)
+
+John


More information about the mono-bugs mailing list