RadTabStrip1.SelectedIndex = 0;
string x = RadTabStrip1.SelectedTab.Text;
1 Answer, 1 is accepted
answered on 03 Jun 2016, 03:45 PM
On initial load you cannot access any of the tabs (the selected one including) in the Page_Load handler. At this point the control is not yet populated, so you can use the TabStrip's OnDataBound (OnDataBound="RadTabStrip1_DataBound") event instead, in which the tabs will be accessible. After the initial load on subsequent postbacks the selected tab will be accessible in the Page_Load handler.
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.