You can extend the navigation provider in Microsoft Office SharePoint Server 2007 by deriving a custom provider class from any of the default site map providers. Deriving from an Office SharePoint Server 2007 site map provider supplies several benefits such as navigation node caching and security trimming. The following code example derives from the PortalSiteMapProvider … Continue reading How to:Extend the Navigation Provider
Month: August 2008
Customizing Navigation Controls and Providers
To customize navigation, you should rely on the ASP.NET Site Navigation mechanism, because it provides a standard, consistent, and easily managed solution.Customizing Web Display Controls (Menu, TreeView, and SiteMapPath) :You can customize the look and feel of standard display controls by using cascading style sheets (CSSs). You can also write your own ASP.NET 2.0 controls … Continue reading Customizing Navigation Controls and Providers
PortalSiteMapProvider
The PortalSiteMapProvider object is the true source of hierarchical navigation data and it provides the data to the PortalSiteMapDataSource object. The PortalSiteMapProvider retrieves nodes from the Windows SharePoint Services 3.0 SPNavigation store. You use the SPNavigation object to create static links and groupings. After you provide static links and groupings, the application merges in dynamic … Continue reading PortalSiteMapProvider
PortalSiteMapDataSource
The PortalSiteMapDataSource is a data source specific to Office SharePoint Server 2007 that retrieves data from the PortalSiteMapProvider object and exposes data according to the ASP.NET 2.0 hierarchical data source interface. The PortalSiteMapDataSource object specifies the name of the PortalSiteMapProvider object it uses to retrieve data through the ASP.NET 2.0 SiteMapProvider property.When the master page … Continue reading PortalSiteMapDataSource
Horizontal and Vertical Menus
When you first create a site structure that includes a root or top-level site, more than one Web site, and pages and additional sites that are children of the top-level site, Office SharePoint Server 2007 creates two menus: a horizontal (top) menu, and a vertical (left) menu.Horizontal and vertical menus are declared in master page … Continue reading Horizontal and Vertical Menus
Working with Menus and Navigation Objects
Any declaration of Horizontal or Vertical menu instructions for navigation in XML for the master page, two classes are used to make the navigation work:PortalSiteMapDataSourcePortalSiteMapProviderThe PortalSiteMapProvider object provides the site hierarchy (navigation structure) and monitors the relationship between nodes.Many named instances of this site map provider are listed in the web.config file, and are also … Continue reading Working with Menus and Navigation Objects
Customize Navigation, How?
Most Web sites employ some form of customized user interface (UI) that provides users with visual clues on how to navigate in the site more easily, and find the information they need. Although the look and feel (or branding) can vary from site to site, the same basic navigation elements are usually present, such as … Continue reading Customize Navigation, How?
Sharepoint Pages Overview
SharePoint pages are built on the foundation of ASP.NET. As a SharePoint developer, you must be aware of two different types of SharePoint pages.These are Application pages and Site pages. Application pages, such as Settings.aspx, are used for all Windows SharePoint Services sites. Therefore, if you modify or extend the functionality in this type of … Continue reading Sharepoint Pages Overview
Content Types in Sharepoint
IntroductionContent types, a core concept used throughout the functionality and services offered in Windows SharePoint Services 3.0, are designed to help users organize their SharePoint content in a more meaningful way. A content type is a reusable collection of settings you want to apply to a certain category of content. Content types enable you to … Continue reading Content Types in Sharepoint
Manage Alerts
Web sites based on Microsoft Windows SharePoint Services are meant to help groups of users work together, they tend to grow quickly and change often. Keeping up with these changes can be difficult for users, especially if they aren't checking on the site every day. To help users stay in touch with changes on a … Continue reading Manage Alerts