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

Issue with a single collapsed tab

1 Answer 48 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Patrick asked on 03 Jun 2014, 12:37 PM
Hello,
if the TabControl contains a single tab and this tab is collaped, the content of the tab is displayed, but not the header.
Patrick

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 06 Jun 2014, 10:40 AM
Hello Patrick,

In order to resolve this you can set the IsDefaultItemSelected property of the RadTabControl to False. This property indicates whether the first tab item will be selected by default on start up. When you set it to False the item's Content won't be loaded until the item is selected and therefore it won't be displayed.

Regards,
Martin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
TabControl
Asked by
Patrick
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Martin Ivanov
Telerik team
Share this question
or