Malaika Consultants LLC

Brief about Master Pages

by Jane Thomson 30. November 2010 19:04

As we all know, with the release of 2.0, it has become quite easy to create uniform layout across almost all the pages on a website. Let us look at some brief of the master pages here in this article.


In order to create uniform pages across the website, a user needs to create only one master page which can characterize the look, feel and typical behavior of all the pages across the website. After that, individual content pages can be created with the given look and feel with required content on the page. Thus, while user requests for the content page, merges it with the master page to create a combine page of defined layout and content.


Just like master pages, there exists a feature called dynamic web template. However, it is advised to use master pages while using the to give a consistent look across the website with the share content pages. And if a user is working with the HTML files, it is advisable to use the dynamic web templates.


Benefits of Using Master Pages


Let us now look at the benefits of using the master pages in the files which can convince a user to use the master pages in website. Traditionally, it was defined to copy all the code from one page to another page in order to create uniform pages across the website but master page has overtaken this duty to make it quite simple for a user. The benefits include:


  1. Master page allows unifying the common functionality required in all the pages so user only has to update a single page.
  2. Master page allows to create only single set of controls which can be applied to the pages across the website.
  3. With this, it also provides such a model object through which user can modify the master page through the individual content page.

Tags: ,


Howto : Quickly align code in Visual Studio

by Swanand Mokashi 23. November 2010 20:07

I recently had a project where I had to copy paste code from bunch of other projects that we had worked on. As a results the code was really not aligned in terms of tab indentation. As we follow a company wide standard for the code alignment, this was going to be a problem. But Visual Studio came to the rescue. Simply select the code block that you want to indent properly and then press CTRL+K followed by CTRL+D. Voila! The code is now nicely indented.



::: | © Malaika Consultants LLC | :::

Malaika Consultants LLC

Malaika Consultants LLC is a custom software development consulting firm located in Cary (Raleigh Durham Research Triangle AKA RTP area ) North Carolina. We offer our expert consulting services in the Microsoft .NET and related technologies. Our mission is to partner with you and ensure the success of your project. We have a team in the USA that will help you with your Information Technology needs and we strive to be truly "Your Information Technology Angels"

We are offering 1 hour of free consulting -- ASP.NET, SQL Server, IIS, anything. Contact us to get your free consulting

Recent Comments