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

Skins for Server Controls


As the name suggests, skins serve as outer covers of controls. Most out-of-the box ASP.NET server controls support skins. Nevertheless, it's always a good idea to check if the control you plan to work with can be skinned. To do so, look for the SkinID property. If the control has a SkinID property, you can apply a skin to it.

There are two types of skins:

  • Default skins, which are applied to all controls that do not have a corresponding skin defined in the SkinID. For example, if you define a default skin for a TextBox control, all TextBox controls on pages that adopt the theme will follow the styles defined in the default skin.

  • Name-controlled skins, which target only controls that share the same SkinID. For instance, you may have a skin for a TextBox defined. Suppose the skin has the SkinID of MyTextBox. Only TextBox controls that have a matching SkinID of MyTextBox will have the skin applied.

Creating a Default Skin

Consider the case of the SiteMapPath control...

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