Forcing validation style to appear on a combo box

2 posts, 0 answers
  1. Ian
    Ian avatar
    15 posts
    Member since:
    Jun 2009

    Posted 05 Oct 2009 Link to this post

    I have the following combo box:

                                <telerikInput:RadComboBox x:Name="CmbIncidentType" 
                                    Grid.Row="2" 
                                    Grid.Column="1" 
                                    DisplayMemberPath="Name" 
                                    SelectedValuePath="Value" 
                                    BindingValidationError="OnBindingValidationError"
                                    ItemsSource="{Binding IncidentTypeList, Mode=TwoWay}"
                                    SelectedItem="{Binding SelectedIncidentType, Mode=TwoWay, NotifyOnValidationError=True, ValidatesOnExceptions=True}"/>

    The object property that this is bound to -- SelectedIncidentType -- is correctly validating and OnBindingValidationError event is firing, which is allows me to see that the right exception message is being passed.  The problem is that the combo box doesn't have a red outline and and a pop up error message like the text box.  

    Is there some property that I need to set to make the default validation color scheme appear?
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 06 Oct 2009 Link to this post

    Hello Ian,

    The problem is that RadComboBox does not have validation states in its template. We have this feature in our plans for Q3 2009 and it is almost ready, so you will be able to get the updated assemblies next week when we release Beta 2.

    Sincerely yours,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top