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

Datatemplates and selection

5 Answers 84 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 04 Oct 2012, 02:36 PM
If I use my own datatemplate for TimelineInstantItemTemplate then the selection functionality does not work, e.g. SelectionChanged never fires. It works fine when using the default template.

How can I make selection work when using my own template?

Thanks

5 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 05 Oct 2012, 02:55 PM
Hello Martin,

You need to make sure that you have a control that inherits from TimelineItemControlBase in the DataTemplate for the timeline items, as demonstrated in our First Look demo. We are aware of this limitation and it is already on our ToDo list.

Regards,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Steve
Top achievements
Rank 1
answered on 03 Jul 2013, 02:41 AM
Has this limitation been addressed yet, or is there a plan to? I have the same problem, except I am using a template selector. The First Look example does give a workaround, but would like to keep the code simpler.
0
ben crinion
Top achievements
Rank 1
answered on 03 Jul 2013, 01:05 PM
I'm also using a TemplateSelector and selection doesn't work for me yet using the workaround on the FirstLook sample.
0
ben crinion
Top achievements
Rank 1
answered on 03 Jul 2013, 01:14 PM
Ignore that, it works perfectly. I didn't have Mode=TwoWay set on the SelectedItem binding.
0
Tsvetie
Telerik team
answered on 05 Jul 2013, 11:58 AM
Hello Steve and Ben,

No, the problem has not yet been fixed. You can vote for it and track the progress on it here.

Regards,
Tsvetie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
TimeLine
Asked by
Martin
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Steve
Top achievements
Rank 1
ben crinion
Top achievements
Rank 1
Share this question
or