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

SelectionChanged event fires incorrectly with nested RadTabControl controls

1 Answer 96 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Raul Rodila
Top achievements
Rank 1
Raul Rodila asked on 05 May 2010, 11:20 PM
Setup
Add a RadTabControl with one tab. Inside that tab add another RadTabControl. I am using Telerik's 2010.1 controls.

Problem
When adding a new tab to the inner tab control, it fires the SelectionChanged event for that tab control (which is correct), but also for the parent tab control which is incorrect.

Is there a fix or a work-around for this?

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 06 May 2010, 07:36 AM
Hello Raul Rodila,

SelectionChanged is a RoutedEvent and it is the expected behavior. Please read more about the routed events here:
http://blogs.telerik.com/blogs/posts/08-07-23/routed_events_in_silverlight_2.aspx

Best wishes,
Valentin.Stoychev
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
TabControl
Asked by
Raul Rodila
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or