Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
NavigationManager.Refresh(Boolean) Method
Definition
- Namespace:
- Microsoft.AspNetCore.Components
- Assembly:
- Microsoft.AspNetCore.Components.dll
- Package:
- Microsoft.AspNetCore.Components v10.0.0
- Package:
- Microsoft.AspNetCore.Components v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Components v8.0.19
- Package:
- Microsoft.AspNetCore.Components v9.0.8
- Source:
- NavigationManager.cs
- Source:
- NavigationManager.cs
- Source:
- NavigationManager.cs
- Source:
- NavigationManager.cs
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.
Applies to
Feedback
Was this page helpful?
