PagesSection.SmartNavigation Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value that indicates whether smart navigation is enabled.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

[ConfigurationPropertyAttribute("smartNavigation", DefaultValue = false)]
public bool SmartNavigation { get; set; }

Property Value

Type: System.Boolean

true if smart navigation is enabled; otherwise, false. The default value is false.


Smart navigation requires Microsoft Internet Explorer 5.5 or greater.

The following code example shows how to use the SmartNavigation property.

// Get the current SmartNavigation property value.
    "Current SmartNavigation value: '{0}'",

// Set the SmartNavigation property to true.
pagesSection.SmartNavigation = true;

.NET Framework
Available since 2.0
Return to top