This is a migrated thread and some comments may be shown as answers.

Binding RadRibbonTab IsSelected in 2010 B1

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 01 Mar 2010, 04:44 PM
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

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 04 Mar 2010, 08:29 PM
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.
Tags
General Discussions
Asked by
Andrew
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or