Validation Combobox

3 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. VEJitendra
    VEJitendra avatar
    1 posts
    Member since:
    Dec 2016

    Posted 28 Dec 2016 Link to this post

    Hi ,

    I have a telerik combo-box control . And i want to have validation-on that control . 

    And Validation should be for below condition.

    1:  Whenever  a user enter a new value in combobox it check that same value exist or not.

    2: If user enter special character in combobobx.


    So please help me to validate the combobox control in above condition.

Back to Top