New to Telerik UI for Blazor? Download free 30-day trial

How to save Grid state in a WebAssembly application?

Environment

Product Grid for Blazor

Description

How to save the Grid State in a WASM project? How to save the Grid State in a WebAssembly through a controller? How to save the Grid State in a WebAssembly from the browser's LocalStorage?

Solution

The sample app in GitHub shows two ways to store the GridState:

  • Through a custom controller;
  • Through a custom service that calls the browser's LocalStorage.

See Also

In this article