page title not working

  • Thread starter Abraham Andres Luna
  • Start date
A

Abraham Andres Luna

hello everyone,

i just wanted to know if there was a workaround, or maybe it's just a bug.

i have a master page:
basepage.master
<%@ Master %>
<html>
<head runat="server">
<title>CRM Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<form runat="server">
<asp:contentplaceholder id="cphPage" runat="server" />
</form>
</body>
</html>

and the aspx page is:
<%@ Page MasterPageFile="basepage.master" Title="Home Page" %>
<asp:content contentplaceholderid="cphPage" runat="server">
Content Here!
</asp:content>

that method works fine because when you navigate to home.aspx, it shows
"Home Page" as the page title.
however, if i use the <%= %> construct in the master page title section:
<title><%= Application["Name"] %> - CRM</title>

the home page now displays "Name - CRM" as the page title.

please let me know if i'm doing something wrong,
abe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top