Share via


NavigationManager.NavigateTo Method

Definition

Overloads

NavigateTo(String, Boolean)

Navigates to the specified URI.

NavigateTo(String, Boolean, Boolean)

Navigates to the specified URI.

NavigateTo(String, NavigationOptions)

Navigates to the specified URI.

NavigateTo(String, Boolean)

Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs

Navigates to the specified URI.

public void NavigateTo (string uri, bool forceLoad = false);
public void NavigateTo (string uri, bool forceLoad);
member this.NavigateTo : string * bool -> unit
Public Sub NavigateTo (uri As String, Optional forceLoad As Boolean = false)
Public Sub NavigateTo (uri As String, forceLoad As Boolean)

Parameters

uri
String

The destination URI. This can be absolute, or relative to the base URI (as returned by BaseUri).

forceLoad
Boolean

If true, bypasses client-side routing and forces the browser to load the new page from the server, whether or not the URI would normally be handled by the client-side router.

Applies to

NavigateTo(String, Boolean, Boolean)

Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs

Navigates to the specified URI.

public void NavigateTo (string uri, bool forceLoad = false, bool replace = false);
member this.NavigateTo : string * bool * bool -> unit
Public Sub NavigateTo (uri As String, Optional forceLoad As Boolean = false, Optional replace As Boolean = false)

Parameters

uri
String

The destination URI. This can be absolute, or relative to the base URI (as returned by BaseUri).

forceLoad
Boolean

If true, bypasses client-side routing and forces the browser to load the new page from the server, whether or not the URI would normally be handled by the client-side router.

replace
Boolean

If true, replaces the current entry in the history stack. If false, appends the new entry to the history stack.

Applies to

NavigateTo(String, NavigationOptions)

Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs
Source:
NavigationManager.cs

Navigates to the specified URI.

public void NavigateTo (string uri, Microsoft.AspNetCore.Components.NavigationOptions options);
member this.NavigateTo : string * Microsoft.AspNetCore.Components.NavigationOptions -> unit
Public Sub NavigateTo (uri As String, options As NavigationOptions)

Parameters

uri
String

The destination URI. This can be absolute, or relative to the base URI (as returned by BaseUri).

options
NavigationOptions

Provides additional NavigationOptions.

Applies to