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

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

2 Answers 78 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Pawan
Top achievements
Rank 1
Pawan asked on 21 Aug 2014, 07:34 AM
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 Answers, 1 is accepted

Sort by
0
Pawan
Top achievements
Rank 1
answered on 22 Aug 2014, 05:40 AM
the problem is occuring when i am using custom templates for dataItems of timeline.How do i resolve this problem ??
0
Tsvetie
Telerik team
answered on 22 Aug 2014, 10:46 AM
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.
 
Tags
TimeLine
Asked by
Pawan
Top achievements
Rank 1
Answers by
Pawan
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or