Validation Combobox

2 posts, 0 answers
  1. Nicky
    Nicky avatar
    1 posts
    Member since:
    Mar 2011

    Posted 17 Mar 2011 Link to this post

    I have a combobox like below and i need to have a required field validation on it. 
    telerik:RadComboBox x:Name="combobox" SelectionChanged="combobox_SelectionChanged" IsTextSearchEnabled="True" Width="120"
                                                    telerik:TextSearch.TextPath="Kode" Margin="2,0,0,0" IsEditable="True" IsReadOnly="True" SelectedItem="{Binding Path=SelectedItem, Mode=TwoWay, UpdateSourceTrigger=Explicit, NotifyOnValidationError=true, ValidatesOnExceptions=true}" TextSearchMode="Contains" CanAutocompleteSelectItems="True"  >
                                                    <ColumnDefinition Width="50" />
                                                    <ColumnDefinition Width="300"/>
                                                    <ColumnDefinition Width="300"/>
                                                <TextBlock Text="{Binding Kode}" Grid.Column="0"/>
                                                <TextBlock Text="{Binding Nederlandse_omschrijving}" Grid.Column="1"/>
                                                <TextBlock Text="{Binding Franse_omschrijving}" Grid.Column="2"/>

    DummyComboBox.ItemsSource = DummyCodeList.Load()
    The load event returns a list of Objects (List<DummyObject>)
    I can't quite get the validation working. 
    Any suggestions ?
  2. George
    George avatar
    1332 posts

    Posted 22 Mar 2011 Link to this post

    Hi Nicky,

    Please, refer to the following forum thread -

    I hope this helps.

    Kind regards,
    the Telerik team
  3. DevCraft R3 2016 release webinar banner
Back to Top