New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core Grid State Persistence
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API HTML HELPER APIDescription
A common scenario is to save the customization and settings made by users while interacting with your app and, then, restore them once they log back at some point in the future.
The Telerik UI for ASP.NET Core Grid enables you to save and restore changes that were previously applied to
its settings by using its getOptions()
and
setOptions()
client-side methods. You can use these methods to store settings like grouping, paging, sorting, and filtering, and when needed, to restore them. This demo shows how to implement this functionality by using the localStorage
key/value pair to save
and load the state of the Data Grid.
For more information about the capabilities for state persistence, refer to the official Telerik UI for ASP.NET Core Data Grid product documentation on the available state-management approaches.