Ask a questionAsk a question
 

QuestionMaster Pages

  • Monday, November 02, 2009 3:40 PMfoxwlf Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I use master pages for most of my web site.  However, I would like to hyperlink to a page (which is associated to a mater page). Is there a parameter to present the page without the associated master page?

All Replies

  • Monday, November 02, 2009 4:57 PMClarkNK Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Well I havent tried this but if you look at the source view near the top where the page directive is, you will find something like

    <%

    @ Page Language="VB" MasterPageFile="~/YourMasterPage.master" --- %>

    Make a test page, and ry removing the MasterPageFile="~/YourMasterPage.master" and section and see what happens


    ClarkNK, A.K.A. HomePage Doctor
    HomePageDoctor.com -- Expression Web database tutorials
    Ownertrades.com -- Created with FP, Access, Bots and Wizards
    MyNumbersTracker.com -- Created with Expression, VWDExress, SQL Express, and ASP.NET.
  • Monday, November 02, 2009 5:43 PM_RonxMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    There is no parameter,  but there is a work around using an include file. 

    Make three pages:
    Page 1 has the page content. Changing this file will update both Page 2 and Page 3.
    Page 2 is attached to a master page, with the content included from Page 1 - either design time include or Server Side Include.
    Page 3 is as Page 2, but no master page attached.

    An example using a Design Time Include is at 
    http://www.rxs-enterprises.org/tests/pages/master_or_not/


    Ron Symonds
    Microsoft MVP (Expression Web)

    www.rxs-enterprises.org/fp
  • Monday, November 02, 2009 5:46 PMClarkNK Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Forget my reply -- I misunderstood the question, and besides, I now tried it and it doesnt work :=(
    ClarkNK, A.K.A. HomePage Doctor
    HomePageDoctor.com -- Expression Web database tutorials
    Ownertrades.com -- Created with FP, Access, Bots and Wizards
    MyNumbersTracker.com -- Created with Expression, VWDExress, SQL Express, and ASP.NET.
  • Monday, November 02, 2009 10:52 PMfoxwlf Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Does this affect the SEO?
  • Monday, November 02, 2009 10:56 PMCheryl D WiseMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Pages that call include as assembled before the page is sent to the requesting browser so as far as seach engines go it should make no difference.


    MS MVP Expression Tutorials & Help http://by-expression.com and online instructor led Expression Classes