Saturday, December 06, 2003

Master Pages in ASP.NET "Whidbey"

Just casually browsing through ASP.NET website and I was reading some content on Whidbey, the next version of Visual Studio .NET and ASP.NET. Web Application development in Classic ASP used include files to define common layouts and templates.

Moving a step towards ASP.NET, we had Register TagPrefix Templates and Web User Controls to achieve the same. Or we could also define a common BasePage, which defines the layout shared for the entire application, giving a placeholder to the actual control at Runtime. But then, the BasePage concept lacked support in Visual Studio .NET Designer.

Coming up next, in ASP.NET next version, is Master Pages, which defines a page designed as a Base Layout master, with an extension .master, that dictates the overall layout of the page itself.

Other pages use the Page Directive and link to this Master page via a Master attribute of the Page directive. Sections marked with <asp:ContentPlaceHolder> in Master Page are overridden in the child Web Pages.

A nice feature that I think many web developers would love to work with. I did a simple Google Search on ASP.NET Master Pages Support and perhaps a significant number of following URLs that could help you out in knowing more about Master Pages are the following:
I hope it would be useful for a lot of ASP.NET developers worldwide.

No comments:

[Imported from Blogdrive]Online Virus Scanners

Online Virus Scanners Virus Scanners are no longer difficult to install, tedious to configure. There are easy to use Online Virus Scanne...