Custom Search

Wednesday, April 9, 2008

Regestering Master Page in Web Configuration

We can apply master page to every content in our web application, Rather than add a MasterPageFile attribute to individual content pages, you can add a configuration option to the web configuration file.

How to :
1.Create a new folder within your application.
2.Create the master page your application will be using.
3.Place all pages that will be using the master page in the folder.
4.Create a web.config file that contains a element with the masterPageFile attribute set to the name of the .master file and place it in the folder.

No comments:

Free Traffic

 Join My Community at MyBloglog! Blog Flux Directory 

Web Developement Blogs - BlogCatalog Blog Directory web development blog  Internet Blogs - Blog Top Sites 

Blog Directory 

Click Here for Free Traffic!

Link2Communion.com