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

TabStrip - Persist Tab Content

Do Not Persist Tab Content

Forecast

23ºC

Sunny weather in Sofia.

Persist Tab Content

Forecast

23ºC

Sunny weather in Sofia.

  • Persist-content.razor
  • WeatherCard.razor
Loading the demo source code...please wait.

Style in ThemeBuilder

  • Custom SASS variables
  • Atomic customizations
  • Sharing projects
Start Theming

Description

The Blazor UI TabStrip component allows you to configure whether the content of a tab is persisted or not through its PersistTabContent parameter. When set to true, switching out of a tab will not remove its content from the DOM, thus switching back to it will not initialize its state every time.

This Blazor TabStrip Persist Tab Content example is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik UI for Blazor components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for Blazor or ThemeBuilder.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.