Book Image

SharePoint 2013 WCM Advanced Cookbook

By : JOHN CHAPMAN
Book Image

SharePoint 2013 WCM Advanced Cookbook

By: JOHN CHAPMAN

Overview of this book

Table of Contents (19 chapters)
SharePoint 2013 WCM Advanced Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Customizing quick launch navigation with a QuickLaunchDataSource delegate control


In this recipe, we will register the custom site map provider, which we created in the previous recipe, Customizing header navigation with a TopNavigationDataSource delegate control, with the QuickLaunchDataSource delegate control. Since we have already created our custom site map provider and registered it in the web.config modifications, we will simply configure the QuickLaunchDataSource delegate control to use this site map provider. The QuickLaunchDataSource delegate control provides the data for the navigation illustrated in the following screenshot:

Getting ready

For this recipe, we should already have the custom site map provider created from the Customizing header navigation with a TopNavigationDataSource delegate control recipe.

How to do it...

Follow these steps to register our custom site map provider with the quick launch navigation:

  1. Open the project created in the Creating a Visual Studio solution for...