"Shelly" <sh************@asap-consult.comwrote in message
news:13*************@corp.supernews.com...
>I am in the process of learning aspx.net. I have programmed for about five
years in php for the back end. I am trying to replicate a recent web site
that I did, but using aspx this time (for practice only). I have run into
a problem.
I created a new master page in Visual Web Developer using the template. I
immedediately got a message:
'Context' is not a member of 'MasterPage'.
I had saved the file as "mynewname.master".
Any idea what this is and how I can get rid of it?
More info:
I did not do ANYTHING to the code. All I did was create one and save it
with a name.master. The first line is:
<% Master Language="VB" CodeFile="MasterPage.master.vb"
Inherits="MasterPage" %>
Well, folks, this newbie just solved the problem. What I did was copy
MasterPage.master.vb and pasted it to the file as I named it. Then I
changed the line MasterPage to the name I chose in the first line.
THIS SHOULD BE DONE AUTOMATICALLY when you save the file as a new name after
creating it from the template. Note that I never saved the master under the
default name -- but it is still there.
Can someone explain this to me?
Shelly