Share via


NavigationManager.Refresh(Boolean) Method

Definition

Refreshes the current page via request to the server.

public virtual void Refresh (bool forceReload = false);
abstract member Refresh : bool -> unit
override this.Refresh : bool -> unit
Public Overridable Sub Refresh (Optional forceReload As Boolean = false)

Parameters

forceReload
Boolean

Remarks

If forceReload is true, a full page reload will always be performed. Otherwise, the response HTML may be merged with the document's existing HTML to preserve client-side state, falling back on a full page reload if necessary.

Applies to