RadTimeline 'SelectionChanged' event not responding when used Radtimeline as a user control in winform application

3 posts, 0 answers
  1. Pawan
    Pawan avatar
    2 posts
    Member since:
    Aug 2014

    Posted 21 Aug 2014 Link to this post

    I have used RadTimeline in a user control and i am using it in a winform application.
    1) The SelectionChanged Event dosent get triggered on mouse Click.
    2) The MouseLeftButtonDown event gets triggered but the DataItem of sender is null.
    3) Is it possible to trigger a event and get date and time  when user clicks on the year or month tabs. 
  2. Pawan
    Pawan avatar
    2 posts
    Member since:
    Aug 2014

    Posted 22 Aug 2014 in reply to Pawan Link to this post

    the problem is occuring when i am using custom templates for dataItems of timeline.How do i resolve this problem ??
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 22 Aug 2014 Link to this post

    Hello Pawan,

    This is a known problem in the RadTimeline control. You can check the workaround provided in the feedback item for a solution that you can use.

    Regarding your other questions:
    "The MouseLeftButtonDown event gets triggered but the DataItem of sender is null." - Based on the provided information, I am not quite sure which is the sender in your case. In case you need some specific information regarding obtaining information about timeline items, please provide more details regarding your setup and expected result.

    "Is it possible to trigger a event and get date and time when user clicks on the year or month tabs. " - You can use the ConvertPointToDateTime method of the RadTimeline control to convert a point to its DateTime representation on the timeline of the control.

    Regards,
    Tsvetie
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
Back to Top