try lower case 't', like this: title="home"
Main Topics
Browse All TopicsOk for the life of me I can't figure this out.
I'm using Master Pages. According to MS, (http://msdn.microsoft.com
This code works fine:
<%@ Page Language="VB" MasterPageFile="~/master07
And when I do this, I get the 404:
<%@ Page Language="VB" MasterPageFile="~/master07
Anyone seen this before?
Thanks,
MH
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Just in case, here's the code from the Master Page:
<%@ Master Language="VB" CodeFile="master07.master.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtm
<html xmlns="http://www.w3.org/1
<head runat="server">
<link href="Style.css" rel="stylesheet" type="text/css">
<title>Master Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<!--[if IE 5]>
<style>#navlist a {float: left; clear: both; width: 100%;}</style>
<![endif]-->
<!--[if lte IE 6]>
<style>
#navlist a {height: 1%;}
</style>
<![endif]-->
</head>
SSirica,
There will be different titles so I want it to inherit from the content page. It works fine if I use the Master title, I can just put that in the regular code. It's when I use the title in the Content Page that I get the error.
I'm starting to think it's a bug in my program. May have to reload the software.
I haven't uploaded the code because it's huge. I don't think that's where the error is. Like I said, if I take out the Title attribute, the page loads and runs fine.
MHenry,
Just like TornadoV said this Error has nothing to do with the masterpage title property. this is cause by a statement like this
Dim str as String
str=Me.mytextbox and usually fixed by str=Me.mytextbox.Text
there has to be some other code causing the master Page title error. Post the body of the masterpage Markup and any code behind if you can not see the cause of the error
It easily solved. Add a public property to the master page like this:
Public Property Master_Title() As String
Get
Return Page.Title
End Get
Set(ByVal value As String)
Page.Title = value
End Set
End Property
put the folowing in the content pages:
<%@ MasterType VirtualPath="~/master07.ma
Now in your code behind the folowing will be available:
master.Master_Title = "Title here"
Grrrrrr,
Caught by the old I have an input box called Title....
Ok, you guys won this round, but I'll be back! ;)
Thanks for the help all...
Splitting points between tornado and sammy. Sammy gets points because I don't understand things until I'm told for the second time.
Thanks to everyone for the help.
MH
Business Accounts
Answer for Membership
by: TheLearnedOnePosted on 2006-12-20 at 09:01:08ID: 18174504
Now that is strange!!! I haven't gotten that error before, but I do the Title attribute all the time without any problems. It must be something with your configuration.
Bob