Selection Changed Example

2 posts, 0 answers
  1. Andrey
    Andrey avatar
    32 posts
    Member since:
    Jun 2010

    Posted 11 Aug 2010 Link to this post

    Hello, please help me with ComboBox
    <ComboBox x:Name="ComboBox" SelectionChanged="ComboBox_SelectionChanged">
                        <ComboBoxItem Content="Item1"></ComboBoxItem>
                        <ComboBoxItem Content="Item2"></ComboBoxItem>
     private void ComboBox_SelectionChanged(object sender, System.Windows.Controls.SelectionChangedEventArgs e)
                if (ComboBox.SelectedItem != null)
                    ComboBoxItem cbItem = (ComboBoxItem)ComboBox.SelectedItem;
                    if (cbItem.Content.ToString() == "Item1")

                    else if (cbItem.Content.ToString() == "Item2")


    How can i do the the with telerik:RadComboBox?
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 12 Aug 2010 Link to this post

    Hello Andrey,

    Thank you for contacting us.

    The RadComboBox has the same SelectionChanged event. So, the code is exactly the same for RadComboBox as the one you pasted.

    Could you please share with us what difficulties do you experience with RadComboBox? For more information you can refer to our online documentation:

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top