C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






Creating Master Page in Visual Studio 2005


Posted Date: 07 Aug 2008    Resource Type: Articles    Category: Web Applications

Posted By: Kundan Kumar Sinha       Member Level: Gold
Rating:     Points: 5



To create a Master Page for your web site in Visual Studio 2005, follow the given steps

Add Master Page

  • Click Start | All Programs | Microsoft Visual Studio 2005 | Microsoft Visual Studio 2005
  • In Microsoft Visual Studio 2005, choose File | New | Web Site from the menus.
  • In the Templates pane, select Empty Web Site.
  • In the New Web Site dialog, click OK.
  • In the Solution Explorer, right-click C:\...\WebSite1\ and click Add New Item.
  • In the Templates pane, select Master Page.
  • Click Add.

    Formatting Master Page

  • In the MasterPage.master tab, click the Design tab.
  • Click just before the ContentPlaceHolder control.
  • Click Layout | Insert Table.
  • Click the Template: radio button.
  • In the Template: drop-down, select Header and Side.
  • Click OK.
  • In the top row, type My Web Site.
  • Highlight the text My Web Site and click Format | Style.
  • In the Size section, ensure Specific: is selected and select 14 pt.
  • Set the text to Bold from the Absolute: dropdown box..
  • Click Background.
  • In the Color drop-down, select Aqua.
  • Click Position.
  • Change the height of the cell to 20 px.
  • Click OK.
  • Drag and drop ContentPlaceHolder1 into the rightmost cell of the table


    Usinging Master Page
  • In the Solution Explorer, right-click C:\...\WebSite1\ and click Add New Item.
  • In the Templates pane, select Web Form.
  • In the Name: field, type Page1.aspx.
  • Click to select Select master page.
  • Click Add.
  • Click OK.










  • Responses


    No responses found. Be the first to respond and make money from revenue sharing program.

    Feedbacks      
    Popular Tags   What are tags ?   Search Tags  
    Master Page Creation  .  Creating Master Page in Visual Studio 2005  .  Create Master Page in Visual Studio  .  Create Master Page  .  

    Post Feedback


    This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
    You must Sign In to post a response.
    Next Resource: Webpart Deployment
    Previous Resource: Socket Connection
    Return to Discussion Resource Index
    Post New Resource
    Category: Web Applications


    Post resources and earn money!
     
    Related Resources



    dotNet Slackers   BizTalk Adaptors    Web Design

    conference calls

    Contact Us    Privacy Policy    Terms Of Use