PagesSection.SmartNavigation Property

 

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 Property SmartNavigation As Boolean

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: