RadTabControl problem with Converter

2 posts, 0 answers
  1. Giuseppe Reale
    Giuseppe Reale avatar
    3 posts
    Member since:
    Apr 2009

    Posted 26 Sep 2011 Link to this post

    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?
  2. Tina Stancheva
    Tina Stancheva avatar
    3298 posts

    Posted 29 Sep 2011 Link to this post

    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 >>

  3. DevCraft R3 2016 release webinar banner
Back to Top