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)

public bool SmartNavigation { get; set; }
/** @property */
public boolean get_SmartNavigation ()

/** @property */
public void set_SmartNavigation (boolean value)

public function get SmartNavigation () : boolean

public function set SmartNavigation (value : boolean)

Not applicable.

Property Value

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;

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions