Datatemplates and selection

6 posts, 0 answers
  1. Martin
    Martin avatar
    19 posts
    Member since:
    Oct 2012

    Posted 04 Oct 2012 Link to this post

    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
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 05 Oct 2012 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Steve
    Steve avatar
    13 posts
    Member since:
    Aug 2008

    Posted 02 Jul 2013 Link to this post

    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.
  5. ben crinion
    ben crinion avatar
    8 posts
    Member since:
    Nov 2009

    Posted 03 Jul 2013 Link to this post

    I'm also using a TemplateSelector and selection doesn't work for me yet using the workaround on the FirstLook sample.
  6. ben crinion
    ben crinion avatar
    8 posts
    Member since:
    Nov 2009

    Posted 03 Jul 2013 Link to this post

    Ignore that, it works perfectly. I didn't have Mode=TwoWay set on the SelectedItem binding.
  7. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 05 Jul 2013 Link to this post

    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 >>
Back to Top
UI for WPF is Visual Studio 2017 Ready