473,503 Members | 2,150 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Context

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?

--
Shelly
Aug 30 '07 #1
2 2719
"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

Aug 30 '07 #2
I spoke too soon. The messages went away went I made that change, but then
when I turned back to look after responding to my previous post, they were
back.
Aug 30 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
10265
by: SPG | last post by:
Hi, I am relatively new to TOMCAT, and am trying to deploy a web app using it. I have a domain name that I want to use to access my web app directly. By default, I deploy my WAR, and it deploys...
2
2352
by: Eliza Zadura | last post by:
The following question is about XPath and context, as I am not sure I'm grasping the concept entirely and this is causing me some problems while working on my XSL transformation. I have checked...
4
3011
by: Mohit Gupta | last post by:
Hi all, Lately I have been working on an application in VB .net CF for Pocket PC device. I have a small question about Context Menu. When I try to close the window after context menu is poped...
5
3668
by: Nadav | last post by:
Hi, I am using FileStream's Async API: BeginRead/EndRead, upon completion callback execution I use the read data and call EndRead, Taking that in mind, I Wonder... does calling EndRead will cause...
5
5467
by: Dean L. Howen | last post by:
Dear friends, Could we determine when context menu should appear?
8
10070
by: Dennis C. Drumm | last post by:
Is there a way to modify the standard context menu shown when someone right clicks in a windows text box and that would work for all open windows applications? The standard context menu for...
2
1690
by: dave | last post by:
This little problem is driving me nuts!! On my webform page I create 2 variables.. Protected p_dml As String = "I" Public Const mwv_id As Integer = 0 ' originally had mwv_id as Protected
1
6323
by: goRide | last post by:
Hi, I'm looking of a way (preferred - a ready class or dll) to customize the context menu. many application has more controls inside the context menu (like textbox, sliders, checkbox, panel...
4
4673
by: Andrus | last post by:
For winforms application with multiple related forms it is reasonable to create Linq database context object in start of application. Context object is released only when application exits. So...
4
11932
by: AAaron123 | last post by:
trying to understand the below shown code. After this is run the browser opens a file-save dialog box for saving the file. I wonder how it knows I want the file saved? But more important, the...
0
7205
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
7008
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5594
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3168
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1521
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
746
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
399
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.