Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Enhancing Microsoft Content Management Server with ASP.NET 2.0

You're reading from   Enhancing Microsoft Content Management Server with ASP.NET 2.0 Use the powerful new features of ASP.NET 2.0 with your MCMS Websites

Arrow left icon
Product type Paperback
Published in Aug 2006
Publisher Packt
ISBN-13 9781904811527
Length 224 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Enhancing Microsoft Content Management Server with ASP.NET 2.0
Credits
About the Authors
About the Reviewers
1. Preface
1. Installation 2. Getting Started with the Development Environment FREE CHAPTER 3. Using Master Pages 4. Navigation Controls 5. Applying Themes 6. Authentication Controls and Membership Providers 7. How-Tos, Tips and Tricks

Creating a Master Page for Use with MCMS


We will now add a master page to our MCMS web application and add the necessary elements for it to be usable with MCMS.

  1. 1. In the Solution Explorer, right-click your website and click Add New Item...

  2. 2. In the Add New Item dialog, select the Master Page template within the Visual Studio Installed Templates section.

  3. 3. Enter TropicalGreen.master in the Name textbox, and click Add.

  4. 4. The master page is created and opened in the Visual Studio Source View.

    Note

    In order to make use of MCMS controls such as the RobotMetaTag control within the master page, a Register directive is required.

  5. 5. Enter the following directly underneath the existing Page directive in the master page:

    <%@ Register Assembly="Microsoft.ContentManagement.WebControls, Version=5.0.1200.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="Microsoft.ContentManagement.WebControls" TagPrefix="cms" %>
    
    • Adding this Register directive in the master page allows us to use...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image