CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/10/2006 1:46:42 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
minority2000uk
Asp.Net User
Master pages and images ...create a standard template over pages4/10/2006 1:46:42 AM

0/0

Hi

 

I have a master template and it currently sits at the start of the directory but I have pages across multiple pages and was wondering if there is away of having it so that i only require one master page rather than a master page for each folder.

Is this even possible..just seems irritating to have to have more than one template for my whole site.  I did consider the full path but this limits it to the one url so is not really a good idea.

 

Any input on this would be great

bpag
Asp.Net User
Re: Master pages and images ...create a standard template over pages4/10/2006 2:34:19 AM

0/0

Yes, you can have one master page that is used by all the pages regardless of what folder the pages sit in. In your page directive you just use the ~ character to represent the root dir of your site. So if your have a master called Site.master in the root your page directive for any given page would look like:

<%@ Page Language="C#" MasterPageFile="~/Site.master" ...

This tells ASP.Net to find the Site.master in the root directory of the site regardless of what directory the page accessing it is in.



If this post answered your question please remember to 'Mark as Answer'!
minority2000uk
Asp.Net User
Re: Master pages and images ...create a standard template over pages4/10/2006 10:59:41 AM

0/0

sorry think my question a little confusing as i already do that....

it more specifically got to do with img tags for the template images

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Office 2008 for Macintosh: The Missing Manual Authors: Jim Elferdink, Pages: 876, Published: 2008
Mastering InDesign CS3 for Print Design and Production: for print design and production Authors: Pariah S. Burke, Pages: 492, Published: 2007
QuarkXPress 6 Bible Authors: Galen Gruman, Barbara Assadi, Rick LePage, Pages: 962, Published: 2003
Practical Mono Authors: Mark Mamone, Pages: 403, Published: 2005
Production for Graphic Designers Authors: Alan Pipes, Pages: 272, Published: 2005
IWork '05: The Missing Manual Authors: Jim Elferdink, Pages: 379, Published: 2005
Starting an Online Business for Dummies Authors: Greg Holden, Pages: 416, Published: 2007
Creating Your Career in Communications and Entertainment Authors: Leonard Mogel, Pages: 302, Published: 1998
The Software Catalog: Microcomputers, Winter, 1990 Authors: Menu International Software, Pages: 0, Published: 1990

Web:
Master pages and images ...create a standard template over pages ... Master pages and images ...create a standard template over pages. Last post 04- 10-2006 6:59 AM by minority2000uk. 2 replies. Sort Posts: ...
Master Pages: Master Your Site Design with Visual Inheritance and ... Building Web page templates the old way; Creating Master Pages in ASP. ..... Check.gif image in the images directory from the Site.master in the masterpages ...
Create a Feature: Master Pages for Site Collections Posted @ 10/1/2007 6:54 AM I still have problem in creating and using new master pages. I can't set any master page other than template ones. ...
CodeProject: MasterPages reinvented - a Component Based Template ... Apr 27, 2005 ... I am creating a master page and then adding a content page to it. .... NET 2.0, you might want to prefer the built-in MasterPages over this ...
Master Pages and Templates Global templates for use as Master Pages – Create a variety of pages for ... Any text boxes used over a colored Background image should always have the ...
Creating a Site-Wide Layout Using Master Pages : The Official ... Where master pages shine over previous site-wide template techniques is with .... and their associated content pages is as simple as creating standard ASP. ...
ASP.NET: Professional ASP.NET 2.0 Design: CSS, Themes, and Master ... And, most recently, you needed to see how to create a standard template using all ... skins, and images that you can apply to all of the pages of your site. ...
CodeGuru: Using Master Pages Aug 31, 2006 ... Don't be mistaken into thinking that master pages take over the role of MCMS templates completely. A key difference between the two is that ...
Introduction to the ASP.NET Master Pages Template Set NET master pages and themes on the server and standard XHTML and CSS on the client .... the colors and the images that are used to create a specific layout. ...
Category:Master Pages - Expression-web-wiki Mar 30, 2008 ... A single master page defines the look and feel and standard behavior ... Both master pages and Dynamic Web Templates allow you to create a ...

Videos:
Charlie Rose - Media Coverage of the war in Iraq / Eduardo ... Segment 1: A panel on media coverage of the war in Iraq with guest host Mary Matalin, former counselor to Vice President Cheney. She talks to ...




Search This Site:










closing pop-up windows opened from contentplaceholder

can't set focus in content page

master page, menu & content page

menu control?

menu, treeview does not populate from dynamically generated xml files

master page problem

homepage without master page but the other pages have

hyperlink colors conflict with menu control

centralized master page for all of our web servers

theme cannot be found in the application or global theme directories

response.write on page load event of the content page

the asp menu control does not navigate to the navigateurl property set in the menu item

master and slave menu controls

master page command information?

problem faced during creating menu in asp.net 2.0 by menu control provided in visual studio 2005

extended club starter kit and navigation buttons for logged in viewer

changing theme programatically on a page with a drop down

sub menu color in vs2005

how to expand/collapse all nodes in a treeview using javascript

masterpage and abstract class

implementing an asp named anchor

copying a treeview probem

problem creating a masterpage from a html 4.01 file

best way to handle navigation system

meta tags in asp.net

changing page.title when header isn't runat=server

organizing site with content place holder in master page confusing to newbie

attractive menu

how to get the previous page master page id on de default error page

menu bar

  Privacy | Contact Us
All Times Are GMT