Hi..
How can i apply my master page to all other pages while working on ASP.net using Visual studio 2005?

i create master page name master but when i create another page named default.aspx there is no option to add the master page to that page?
kindly help me out..
Regardz..

Recommended Answers

All 2 Replies

When you add a web page to your web site/web application, You can add a master to the web page by selecting 'Select master page' checkbox in the 'Add New Item' dialogbox. It will open a dialogbox where you can select the master page for the web page.

Refer these links also.

Creating a Site-Wide Layout Using Master Pages

ASP.NET Master Pages Overview

The easy way to do this is right click on master page and select add new item and that page will automatically be linked to master page.

Hope this will work.

giahmed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.