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

TabStrip State Management

Updated on Oct 1, 2026

The Telerik TabStrip for Blazor exposes state management capabilities through events and methods. Use them to save, restore, and programmatically manipulate the component state, for example, to persist it across page visits or to respond to state changes.

Objects

The TabStrip stores its state in the following objects:

Events

The TabStrip fires two events that enable you to monitor the component state or set it initially:

Also see the example below.

Methods

The GetState and SetState methods of the TabStrip instance let you obtain and define the current TabStrip state on demand at any time after OnStateInit.

To make changes to the TabStrip state:

  1. Get the current state with the GetState method.
  2. Apply the desired modifications to the obtained TabStripState object.
  3. Set the modified state object through the SetState method.

Do not use GetState() in the OnStateInit or OnStateChanged events. Do not use SetState() in OnStateInit. Instead, get or set the TabStripState property of the event argument.

Example

The following sample demonstrates the TabStrip state-related events and methods in action.

Example
View Source
Loading ...

Next Steps

See Also