This is a migrated thread and some comments may be shown as answers.

Anyway to Keep Current Selected TabStrip Tab Between Browser Page Refresh

1 Answer 704 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
GokuJim
Top achievements
Rank 1
GokuJim asked on 14 Jun 2019, 07:48 PM

For a KendoReact TabStrip control if a user selects the second tab, and then performs a browser page refresh, is there anyway to keep the TabStrip from resetting itself back to the first tab?

Thanks,

Jim

SKF USA, Inc.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Jun 2019, 06:26 AM
Hello, James,

This can be achieved if the selected tab value is saved either on the server or in the browser local storage.  Then the value has to be set to the selected property:

https://www.telerik.com/kendo-react-ui/components/layout/api/TabStripProps/#toc-selected

Utilize the onSelect event to save the selected tab in local storage or on the server:

https://www.telerik.com/kendo-react-ui/components/layout/api/TabStripProps/#toc-onselect

I hope this is helpful.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
GokuJim
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or