Master, please help define MASTER PAGE regions for me.

web Designer


  • 1. Running a prog in web browser
    Hi all Does anyone know of a way to run an installed program in a web browser? any help / info would be great. Cheers all -- Antony .
  • 2. Menu Control
    One area of my website is very hierarchial and I have established a TreeView control based on a site map. I am also using a SiteMapPath control on all pages for overall site navigation support. I have set the expand property of the TreeView control to 1 so when I open the page containing the TreeView control only the top level nodes are displayed. I am able to expand properly to the next level for each node selection (3 levels). However, when I use the SiteMapPath to return to the parent node (which is displayed by the SiteMapPath control), all nodes in the site map expand to their maximum level and make it difficult to return to the parent of the currently selected child. How do I keep the unselected nodes from expanding automatically? I have tried various properties of the TreeView control but have been unable to find a successful solution. J Austin
  • 3. OT: eCommerce
    I'm not even sure ecommerce is the right term here. But... a while back I saw a site that offered a service to create, sell and ship items like clothing articles with your company logo, beer mugs with your logo, etc. They charger their customer a monthly fee, and I believe get a cut of the sales. I've seen lots of websites that offer this service... but I'm trying to remember the name of this one site.... I think it had the word "cup" in it. The name did not make you think of an ecommerce site. It was some cutesy name. I'm not giving much to go on but, I'm hoping someone will know what I'm talking about. TIA
  • 4. Expression Web is a waste of money
    Expression Web does not work with IIS7!! Are yoiu kidding me? I have to go to to get a fix to get it to work? That site looks like it was written by a bunch of hacker kids. Expression web is a waste of money. Do MS even talk to IIS mpeople

Master, please help define MASTER PAGE regions for me.

Postby UHJvZml0 » Fri, 02 Feb 2007 10:44:00 GMT

I want to make a Master Page for my website.  All pages of the web will have 
the same header, right menu, and footer.  I want the area to the left of my 
menu to vary from page to page.

I've read Expression Web Help, but I'm confused.  Are "content placeholders" 
the boxes I use to for shared page elements?  What do I use for the area that 
will hold my varying content (and not be shared)?

Can I apply a CSS to the varying region?  Will I need to do that for each 
page or will a CSS applied to the Master Page varying region work on all 
other pages of the website?

Thanks for the help!

Re: Master, please help define MASTER PAGE regions for me.

Postby clintonG » Fri, 02 Feb 2007 11:02:51 GMT

Oh wait a minute, the Sopranos are coming on...

<%= Clinton Gallagher
         NET csgallagher AT
         URL  http://www.**--****.com/ 
         MAP  http://www.**--****.com/ #y=43038073&x=-88043838&z=17&l=0&m=h

Re: Master, please help define MASTER PAGE regions for me.

Postby UHJvZml0 » Fri, 02 Feb 2007 11:08:00 GMT

They're all re-runs.  You can type the answer during commercial breaks.  :-)

Re: Master, please help define MASTER PAGE regions for me.

Postby clintonG » Sun, 04 Feb 2007 06:03:29 GMT

o to which is known for the best tutorials on
MasterPages for ASP.NET developers.

To answer your questions -- briefly -- the master is like a template all
pages can reuse at runtime. The template can contain any static or dynamic
content that you want to be displayed on each page that uses the master.
Understanding the ContentPlaceHolder (CPH) is initially confusing but really
starts to makes sense once you start using it more. We can put a CPH
anywhere in a master; even the <head> element which is sometimes neccessary
for managing which meta tags are written into specific pages that use the

You see, the master is the entire HTML data structure for the page; the
master contains the html, head, title, body and form elements. A typical but
very simple master might use one CPH. There are zones in a page we call the
"header" which is where the company logo and navigation would be, the "body"
of the page contains a CPH which is where unique content will be displayed
when each page is displayed and the area we know as a "footer" where
copyright and other static content is usually located. That's a template
right? All that really changes is the content displayed in between the
header and the footer.

The CPH has an id in the form of a name=value pair. Let's say its
id="BodyOfPage." From that point on each new "content page" you create does
not use any of the ordinary HTML data structures for the page, i.e. no html,
no head, no title and no body HTML elements -- but -- each content page that
uses the master must include a Content control that has the same id as the
id of the CPH in the master. This is very similar to using #include
directives when scripting with ASP or PHP.

CSS can be used to apply style globally throughout the entire web. That's
its main purpose; declare a style once and reuse that style many times. We
can however declare a unique style that might be used one time in the entire
website. CSS is very flexible.

The general consensus agrees that one of the better reference websites
happens to be W3Schools noting there are many many
many fine sites you'll be using as you continue to build your body of

<%= Clinton Gallagher
NET csgallagher AT

"Profit" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...

Return to web Designer


Who is online

Users browsing this forum: No registered users and 59 guest