PagesSection.SmartNavigation Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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.

System_CAPS_noteNote

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.
Console.WriteLine(
    "Current SmartNavigation value: '{0}'",
    pagesSection.SmartNavigation);

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

.NET Framework
Available since 2.0
Return to top
Show: