473,388 Members | 1,340 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

MasterPage not working in VWD 2008

Hi

I was looking at a instruction video form www.LearnVisualStudio.Net how to
add MasterPages. But the video is for VWD 2005. In the video the guy is
adding a master page and then inserts new items (Pages) to the project and
as he adds pages he can select "Place code in separate files" or "Select
Master Page". I can't find the way to add the new item to my MasterPage in
stead I have to copy and paiste code to add a pages to the master page. Does
any one know how to set up the IDE so I can select MasterPage for a new item
(page.aspx)?

Lars
Jan 25 '08 #1
1 1385
You need to create content pages as Web Content Page. The "Add new item"
dialog provides it in the list of the available templates. Once you entered
the page name, you will be presented with a dialog for selecting the master
page for the new content page.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"rosoft" <su*****@RosoftEngineering.comwrote in message
news:AJ*****************@newsb.telia.net...
Hi

I was looking at a instruction video form www.LearnVisualStudio.Net how to
add MasterPages. But the video is for VWD 2005. In the video the guy is
adding a master page and then inserts new items (Pages) to the project and
as he adds pages he can select "Place code in separate files" or "Select
Master Page". I can't find the way to add the new item to my MasterPage in
stead I have to copy and paiste code to add a pages to the master page.
Does any one know how to set up the IDE so I can select MasterPage for a
new item (page.aspx)?

Lars

Jan 27 '08 #2

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

Similar topics

3
by: Keith Patrick | last post by:
I'd like to get some semblance of SmartNavigation-like behavior in a MasterPage-based content navigation app (primarily the lack of "flicker") I had it working in a version that used a MultiView...
0
by: Herman verschooten | last post by:
Hi, I am creating my first real ASP.NET 2.0 site and want to use the some of the new features. I created a masterpage with my main layout and added several contentpages, no problem so far. I...
0
by: kelmen | last post by:
Greeting, I have a weird problem. Working fine before I incoporating theme and skin. my sample is an aspx file using masterpage. working fine. then when I incoporating theme and skin, keep...
6
by: Mirek Endys | last post by:
HEEELP!!!! I have a big problem :))))) How to use url in CSS stylesheet file that is linked into MasterPage. The tilda '~' (as shortcut to the root of the webserver) is not working, and my...
5
by: Islamegy® | last post by:
In my project i have two master page which i change dynamic in runtime.. The first one with 1 ContentPanel "onepanel.master", the second with 2 contentPanel"twopanel.master".. but when i switch...
6
by: =?Utf-8?B?QmVuIFIu?= | last post by:
Hi, WHen I specify my master page in the page's @Page directive, no problems. However, when I put it ias an attribute in Web.config's page element, the designer fails. It just says "Error...
7
by: WT | last post by:
Hello, It seems that when a control is set into a ContentPlaceHolder in a page using a MasterPage, it's id is change and FindControl(ID) no more works, is it normal, how to override this or...
3
by: sloan | last post by:
Ok. In a simple scenario where I have a MasterPage Web Content Page (using the just mentioned MasterPage) and a DropDownList on the content page. When the page renders, I get something...
6
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
I want to insert a CSS Stylesheet file in a <LINKtag inside my MasterPage so that it will work in all of the the ASPX pages that use that MasterPage (no matter where the page is in the directory...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.