Replace

Location.Replace method

Removes the current page from the session history and navigates to the given page.

public void Replace(string url)
Parameter Type Description
url String The URL to navigate.

See Also