New to Telerik UI for WPF? Download free 30-day trial

Data Validation Lost on Switch Tabs

Environment

Product Version 2019.2.510
Product RadTabControl for WPF

Description

The red validation border is lost when switching tabs in RadTabControl or LayoutControlTabGroup.

Solution

To resolve this, wrap the content of the corresponding tab item (RadTabItem or LayoutControlTabGroupItem) in an AdornerDecorator element.

<telerik:RadTabItem Header="Tab 1"> 
   <AdornerDecorator> 
        <TextBox /> 
   </AdornerDecorator> 
</telerik:RadTabItem> 
In this article