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 Login Page Using the Login Control


Now let's go ahead and implement a login page allowing users to sign in, which will utilize the new ASP.NET 2.0 login controls.

  1. 1. Right-click the TropicalGreen website, and click Add New Item.

  2. 2. Select the Web Form icon, enter Login.aspx in the Name textbox and click Add. Ensure that the Select Master Page checkbox is not selected.

    Note

    Adding a Login control to a master page will work. However if the master page includes code that interacts with the PAPI (such as navigation controls or posting properties), your MCMS installation will require Guest access to be enabled. Such an implementation is only appropriate for mixed authoring and read-only hosting scenarios that utilize Forms Authentication.

  3. 3. Switch to Design view.

  4. 4. From the toolbox Login tab, drag a Login control onto the design surface.

  5. 5. If desired, use the Login control's Auto Format task to select a format scheme.

  6. 6. Click the Login control (Login1) and then the events icon (the...

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