Visual Inheritance with Master Pages and the @Reference tag

Posted by: Rick Strahls WebLog, on 26 Mar 2006 | View original

A few days ago I talked about a useful approach to store Master Pages in a template directory so they can be tied fairly easily to Theme. At the time I was working with a Web Application Projects project, so it was pretty easy to implement the MasterPage in a 'base' directory, and then create the other templates by simply referencing the original CodeBehind class using simple code like this:   <%@ Master Language="C#" AutoEventWireup="true"          ...

Advertisement

Similar Posts

  • Common Gotcha: Slow VS 2005 Web Site Build Performance Because of Dueling Assembly References more
  • Recipe: Dynamic Site Layout and Style Personalization with ASP.NET more
  • Building a Photo Tagging Application using ASP.NET 2.0, LINQ, and Atlas more
  • Master Pages and Content Pages in WSS 3.0 more
  • Getting access to the Head tag in Master Pages more
  • Capture Master Page Events in Content Pages - ASP.NET 2.0 more
  • How to Link Stylesheets from a Master Page more
  • Debugger Visualizer for BizTalk 2006: MessageContext more
  • Capture Master Page Events in Content Pages - ASP.NET 2.0 more
  • ASP.NET 2005 Annoyances #00001 - Master Pages & Javascript Files more

News Categories

.NET | ADO.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Community Server | dasBlog | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD