CodeVerge.Net Beta


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




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/2/2007 7:54:51 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 17 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
vicpal25
Asp.Net User
Is this possible with a Master Page?3/2/2007 7:54:51 PM

0

I have various different form files/apps with their specific JavaScript/CSS files. Is it possible to create a Master Page and have a set of CSS files referecing to that Master Page and also JavaScript files but also having a way of attaching form/file specific CSS/JavaScript files?
bpag
Asp.Net User
Re: Is this possible with a Master Page?3/2/2007 8:34:24 PM

0

Sure. There are various ways of doing this. One way is just to add the CSS files that are used across the whole site in the master page and then after the style sheets add a contentplaceholder that can be used by the individual pages to add their style sheets in. VS doesn't like when you add contentplaceholders outside the body of the document so this will typically result in your contentplaceholder showing with a red squiggly in design view to indicate VS doesn't know what you're doing but it will still work and you can then add your style sheets inside the content tag on your page. You can do the same thing with javascript files. Put the ones that are used across the whole site in the master page and then have a contentplaceholder for the page-specific ones and let the individual pages add their own js files as needed.

There are other ways to do this but this is probably the easiest.


If this post answered your question please remember to 'Mark as Answer'!
vicpal25
Asp.Net User
Re: Is this possible with a Master Page?3/2/2007 9:09:33 PM

0

Sweet deal. Sounds like a legit solution..I'll give that a try! Thanks. Big Smile
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional ASP.NET 3.5 in C and VB: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1704, Published: 2008
ASP.NET 2.0 Cookbook Authors: Michael A. Kittel, Geoffrey T. LeBlond, Pages: 989, Published: 2005
The Arden Shakespeare Complete Works: complete works Authors: William Shakespeare, Richard Proudfoot, Ann Thompson, David Scott Kastan, Pages: 1360, Published: 2002
Mastering Web Development with Microsoft Visual Studio 2005 Authors: John Mueller, Pages: 822, Published: 2005
Professional C# 2008 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1782, Published: 2008

Web:
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps It’s possible for a page to specify a MasterPageFile that itself consists only of Content controls. The master page in this scenario would in turn specify ...
Chris O'Brien's blog: Deploying master pages and page layouts as a ... It is possible to nest master pages so maybe your developer has done that. If the either of the master pages you are using have a value like ...
Data Tutorial #2: Building our Master Page and Site Navigation ... Master Pages is a new feature in ASP.NET 2.0 that enables me to define a common .... Now that I have my Master Page defined, I can go ahead and build pages ...
ASP.NET Master Pages Overview ASP.NET master pages allow you to create a consistent layout for the pages in your application. A single master page defines the look and feel and standard ...
Realmac Software Forums | Possible to have master page with ... My question is, is it possible for me to have the graphic elements appear in each page’s sidebar as a master page which retains the contents ...
How to call a method in a MasterPage from a class? I have a MasterPage with some public methods, and I would like to call them from a (app_code) class. Is it possible to set a directive or an ...
Heather's Base Master Page File for SharePoint 2007 Is it possible to create an XHTML 1.0 transitional version of the base master page? Will Sharepoint 3.0/2007 conform to the XHTML standard? ...
ASK chita 2007 july Master Page iMProveMent Detroit inDeSign uSer ... Is it possible to resize a document. without copy/pasting it to a new ... around that master page item, you had to handle this feat ...
Basics: Master Page FAQ - Eric Wise I have added one usercontrol on the masterpage, but i want to access the method of the masterpage from the usercontrol. Is it possible to get the object of ...
Is it possible to create a MasterPage in Silverlight 2 ?? : The ... Jul 13, 2008 ... Microsoft portal site for the Silverlight development community. Download Silverlight, post to the forums, read Silverlight blogs and learn ...

Videos:
Creating and Applying Master Pages in InDesign CS3 http://www.lynda.com/?cid=youtube Join renowned InDesign expert David Blatner as he shows you how to create and apply master pages in Adobe's ...
Introduction to ASP.NET Master Page ASP.NET Master page is a nice concept, watch this video to understand how to use asp.net master page in your website
Using Master Pages in Visual Studio 2008 This video demonstrate how to use the visual studio master pages feature that allow you to create a template for your website. Enjoy
Using Master Pages in Visual Studio 2008 This video demonstrate how to use the visual studio master pages feature that allow you to create a template for your website. Enjoy
Master Pages : Themes-Skins Master Pages : Themes-Skins ASP .NET 2.0
Modify a Master Page in SharePoint Designer 2007 In this video you will learn how to use SharePoint Designer to modify and re-brand a SharePoint default.master page. For more information, see ...
Jonathan Goodyear from Florida presenting ASP.NET Master ... Jonathan Goodyear from Florida presenting ASP.NET Master Pages Tips and Tricks
ASP.NET Master Page Continued Watch the previous asp.net master page then continue to learn about this neat feature
master page master page
RapidWeaver Screencast: The Blocks Plugin's Master Page RapidWeaver Classroom presents a tutorial on using the Master Page as a part of the Blocks plugin for RapidWeaver.






how to create a skinning

how to change the text and value of a treenode in treeview

how to display menu......

displaying menu on left of page, external website on right

sitemap not working based on roles

populate treeview programatically

how to override master events?

help with using the mainmenu class

xpath in xmldatasource asp .net menu

master pages, cookies, session variables and life

how to properly set the pictures at my masterpage so users can see them?

navigation menu not uploading to hostsite

user interface problem

masterpage and flash

do themes not display in the visual studio designer?

how to centralized content?

different menu items for authenticated and unauthenticated users

problem with treeview

removing wizard step from wizard control

treeview - how to refresh?

basic directory question

creating a static menu with images from a css class

sending values across 2 projects to a masterpage

menu selected item

treeview presentation

problem in programmatically change the masterpages at runtime

theming titleiconimageurl in iwebpart

jscript compatablity in firefox

treeview control with radio button

share masterpage between sites?

   
  Privacy | Contact Us
All Times Are GMT