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

PresidentDataToPercentConverter

5 Answers 70 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 11 Mar 2015, 08:11 PM
The Silverlight president timeline demo made a reference to PresidentDataToPercentConverter but doesn't seems to include this file.

Also, is there a simpler example of using a custom timeline that supports multiple start / end dates like the president example?  The president example looks great but a bit hard to understand with many references to external resources.

5 Answers, 1 is accepted

Sort by
0
Edward
Top achievements
Rank 1
answered on 12 Mar 2015, 01:28 PM
I found the file in the downloaded version of the demo - it is just not included in the online version.
0
Martin Ivanov
Telerik team
answered on 12 Mar 2015, 04:22 PM
Hi Edward,

Indeed, some of the files used in our demos are not listed in the demos application, but only in the Visual Studio solution. You can find there any references to files that are not available in the online application.

About a simpler example, I create a simplified version of the demo which you can find in the attachment of my post. Please give it a try and let me know if it works for you.

Regards,
Martin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Edward
Top achievements
Rank 1
answered on 16 Mar 2015, 07:46 PM
Thanks for the demo, it is much easier to understand.

However, I have ran into some problem.  Looking at this president's data
                    Name = "Martin Van Buren",
                    BirthDate = new DateTime(1770, 1, 1),
                    DeathDate = new DateTime(1850, 1, 1),
                    PresidentFrom = new DateTime(1830, 1, 1),
                    PresidentUntil = new DateTime(1840, 1, 1),

At first everything loaded properly.  But if I zoom in and scroll around, then the bar is misaligned.



0
Edward
Top achievements
Rank 1
answered on 16 Mar 2015, 08:17 PM
I think this has to do with the RadDataBar inside, because if I remove it then it is aligned properly when zoom/scroll around.
0
Martin Ivanov
Telerik team
answered on 19 Mar 2015, 12:52 PM
Hi Edward,

I tested the reported behavior and I wasn't able to reproduce the reported issue as demonstrated in the linked video. Can you please provide me with runnable code that reproduces the issue or steps to reproduce it with the project from my last reply? This will allow me to test it locally and investigate what is causing this behavior.

Regards,
Martin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
TimeLine
Asked by
Edward
Top achievements
Rank 1
Answers by
Edward
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or