At the moment, you can't get the currently active tab with code, the Title property of the tabs is not public.
Ideally, something like this should work:
@using Telerik.Blazor.Components.TabStrip@using Telerik.Blazor.Components.Button<TelerikButton OnClick="@WriteActiveTab">Get Active Tab</TelerikButton><TelerikTabStrip TabPosition="Telerik.Blazor.Components.TabStrip.TabPosition.Left" ref="@myTabStrip"> <TelerikTab Title="First"> First tab content. </TelerikTab> <TelerikTab Title="Second" Disabled="true"> Secont tab content. This tab is disabled and you cannot select it. </TelerikTab> <TelerikTab Title="Third"> Third tab content. </TelerikTab></TelerikTabStrip>@functions { Telerik.Blazor.Components.TabStrip.TelerikTabStrip myTabStrip; protected void WriteActiveTab() { Console.WriteLine(myTabStrip.ActiveTab.Title);//Title is not available now }}
ADMIN EDIT: As of October 2023, the TabStrip supports getting and setting the active tab with the ActiveTabIndex parameter. This request was marked as Complete when we exposed a Title parameter for the TabStripTab component. Enhanced programmatic access to TabStrip tab IDs can be implemented as part of TabStrip dynamic (closable) tabs.