[Mono-bugs] [Bug 662918] Setting Page.Title on an ASPX page does nothing.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jan 7 03:02:55 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=662918
https://bugzilla.novell.com/show_bug.cgi?id=662918#c1
--- Comment #1 from Pablo Ruiz <pruiz at netway.org> 2011-01-07 08:02:54 UTC ---
After a bit of testing looks like adding the following code will server as a
workaround:
<head runat="server">
<script type="text/javascript">
// some code..
</script>
<%
Page.Header.Title = "This is a page title";
%>
<%-- W/o the following title node no title would be generated --%>
<title runat="server">Hola</title>
</head>
<body>
<div>
<%-- = Html.Encode(ViewData["Message"]) --%>
</div>
</body>
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list