NavigationManager.Refresh(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.