Declaratively and programmatically use master pages

Declaratively and programmatically use master pages

In this video tutorial, Chris Pels will show several aspects of defining and using master pages in an ASP.NET web site. First, see how to create master pages declaratively using the ASP.NET master page model and learn what information is best suited to a master page compared to an individual content page. Next, see how to programmatically assign master pages on-the-fly in an individual content page. Also learn how to create a base page class which assigns a master page programmatically for all pages that inherit from the base class. In addition, see how to set the master page in the web.config file. Lastly, see how to access elements in a master page from an individual content page including some best practices for structuring access to master page elements.

Hosted by microsoft.com
Creator's Site: www.asp.net
Curated By: rmansur

Comments

Add your comment:

LEGO Fashion Hits the Runway

Whether you're inclined to love it or leave it, you've gotta admit one thing about JC de Castelbajac's LEGO fashion line- it's fun. More 80's pop culture revival: LEGO constructed hats and LEGO ...

PRANK WARS

WonderHowTo loves pranks. So, naturally we're big fans of College Humor, particularly Prank Wars. Prank Wars stars Amir and Streeter, best pals. Best pals that love to humiliate one another...to say ...

From Dying To Flying

Dean Potter, one of National Geographic's Ten Adventurers of the Year, set a world record for base jumping in 2009. Via NatGeo: "On a sunny afternoon in mid-August, Dean Potter stepped onto a ...

Ew. Livestream of Patient's Brain Being Sliced. Watch Now.

Neuroscience (live!) resumes its 50 hour slicing session 8:00 am PST this morning. According to Gizmodo, "Studying Henry Gustav Molaison, more commonly known as Patient H.M., and his memory ...

Pyro-Spirograph-Drawings

Rosemarie Fiore is badass. She makes art with pyrotechnics, amusement park rides, Atari, guns, and pinball machines. Though all of her work is cool, I have to say my favorite piece is Fiore's larger ...

loading...