Binding RadRibbonTab IsSelected in 2010 B1

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    12 posts
    Member since:
    Mar 2009

    Posted 01 Mar 2010 Link to this post

    I'm trying to bind the IsSelected property of the RadRibbonTabs in my ribbon to programmatically switch between tabs based on a property in my ViewModel (which is the DataContext).    My converter is getting hit with the correct updated values passed in, but the newly selected tab isn't displayed.

    Here is my markup for the property on each tab in the ribbon bar:

    SelectedTab="{Binding CurrentView, Converter={StaticResource selectedTabConverter}}"

    Does anyone have any suggestions as to what might not be working here?

    Thanks,
    Andrew
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 04 Mar 2010 Link to this post

    Hello Andrew,

    I tried databinding the IsSelected property with several versions of the controls and it does seem to work. Could you have a look at the attached project? I have not implemented a binding converter but this should make little difference.

    Am I missing something?

    Can you provide more code from the ViewModel and the ValueConverter?

    Kind regards,
    Miroslav
    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