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

RadTabControl problem with Converter

1 Answer 65 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Giuseppe Reale
Top achievements
Rank 1
Giuseppe Reale asked on 26 Sep 2011, 01:31 PM
Good morning.
In a Silverlight control, I have a grid, in which load my ViewModel:

Example: <Grid DataContext="{StaticResource ViewModelMy}"> ...</ Grid>


Inside the Grid, there is a RadTabControl, with various tabs. There are tabs in the TextBox controls that are related to the converter.

Example: <TextBox Text="{Binding UserEmail, Converter={StaticResourceConverterEmail}, Mode=TwoWay}" />

There is a problem. The converter only works the first time that I change the value of theTextBox. In later times, the value is not checked.
This problem only when the TextBox verirfica are contained in RadTabControl.

Can you help?

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 29 Sep 2011, 01:28 PM
Hello Giuseppe,

I tried to reproduce your scenario but I wasn't able to. Can you please have a look at the sample project I attached and let me know if I am missing something? If you can modify the solution to better illustrate your scenario, we will be able to further investigate the case.

Also, if you want to use a control that allows controlled input and validation of the entered values, then you can take advantage of the RadMaskedInput suite of controls and their RegularExpression Validation.

Best wishes,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
TabControl
Asked by
Giuseppe Reale
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or