SelectedIndex update SelectedItem in RadListBox in RadDropDownButton

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    22 posts
    Member since:
    Jul 2011

    Posted 04 Mar 2013 Link to this post

    Hello,

    I have a RadListBox in the DropDownContent of a RadDropDownButton like so:

    <telerik:RadDropDownButton Grid.Row="1" Grid.Column="1" Margin="5">
        <telerik:RadDropDownButton.Content>
            <Viewbox>
            <TextBlock x:Name="uxtbDDBDisplay"/>
            </Viewbox>
        </telerik:RadDropDownButton.Content>
        <telerik:RadDropDownButton.DropDownContent>
            <telerik:RadListBox x:Name="uxlstOptions" MinWidth="85" MaxHeight="200" SelectionMode="Single"/>
        </telerik:RadDropDownButton.DropDownContent>
    </telerik:RadDropDownButton>

    The problem is when I update the SelectedIndex or SelectedItem on the RadListBox it does not update the opposite until the RadDropDownButton is opened.

    Complete source of sample project here: http://dl.dropbox.com/u/22869986/RadDropdownTestProject.zip

    Is there anyway to make this work without forcing the user to open the RadDropDownButton first?

    Please note: this worked as expected before the most recent update.
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 07 Mar 2013 Link to this post

    Hello,

    You can find more information about this issue related to the RadListBox control in this post.

    Regards,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top