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

Comments

Add your comment:
Follow Us On Twitter

Make-It-Yourself Panda Bread

Perfect Pandas was kind enough to post link to an English translation of a Japanese Panda Bread How-To (made with green tea and chocolate dough). In the spirit of bento, very, very cute.... Previously ...

Fire + Gravity + Corrosive Liquids = Explosive Rube Goldberg Fun

They Way Things Go is a Rube Goldberg inspired art film by Peter Fischli and David Weiss (1987). The 30 minute film documents an assembly line of action and reaction. Wikipedia: "The machine is ...

DIY LED Carpet-Light

For the craftsters & LED lovers, great idea by Johanna Hyrkas. The LED carpet-light: a simple, yet novel, DIY project. A single strand of LEDs is encased in a knit tube; the knit tube is wound ...

Make Fuel With Mountain Dew

Mountain Dew is the answer. Inventor Paul Patone has devised a mechanism that converts soda into actual usable fuel. "It’s called the Geet Sytstem. Basically, it’s a fuel booster system that can ...

No Lightsaber Required: DIY Jar Jar Binks Salad

Yum, geekdom fun. A Jar Jar salad. Wonderfully silly How-To from Only Knives: "A side dish from the Dark Side: Sculpt Jar Jar Binks out of a root vegetable." You'll need some serious ...

loading...