In Blazor WASM the error is explicit (See screenshot below)
In Blazor Server the issue will lead to a different console error but the app will throw a similar error:
JsonReaderException: 'e' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
WASM
- Navigate to this sample
https://www.infragistics.com/blazor-client/grids/grid/state-persistence-main
https://github.com/IgniteUI/igniteui-blazor-examples/tree/vnext/samples/grids/grid/state-persistence-main
- Run and click the Reset button
Server:
-
Download attached Server sample
IgniteIgbGridSample2 (2).zip
-
Run sample, click Fetch Data in the nav tree
-
Move a column to a different position
-
Navigate away from the sample by clicking Counter or Home
-
Click back to Fetch Data
-
Click Restore Grid State
Here is a comparison of the two WASM / Server side by side (WASM left, Server Right) including the server's stacktrace

In Blazor WASM the error is explicit (See screenshot below)
In Blazor Server the issue will lead to a different console error but the app will throw a similar error:
JsonReaderException: 'e' is an invalid start of a value. LineNumber: 0 | BytePositionInLine: 0.
WASM
https://www.infragistics.com/blazor-client/grids/grid/state-persistence-main
https://github.com/IgniteUI/igniteui-blazor-examples/tree/vnext/samples/grids/grid/state-persistence-main
Server:
Download attached Server sample
IgniteIgbGridSample2 (2).zip
Run sample, click Fetch Data in the nav tree
Move a column to a different position
Navigate away from the sample by clicking Counter or Home
Click back to Fetch Data
Click Restore Grid State
Here is a comparison of the two WASM / Server side by side (WASM left, Server Right) including the server's stacktrace
