PresidentDataToPercentConverter

6 posts, 0 answers
  1. Edward
    Edward avatar
    83 posts
    Member since:
    Feb 2011

    Posted 11 Mar 2015 Link to this post

    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.
  2. Edward
    Edward avatar
    83 posts
    Member since:
    Feb 2011

    Posted 12 Mar 2015 Link to this post

    I found the file in the downloaded version of the demo - it is just not included in the online version.
  3. DevCraft banner
  4. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 12 Mar 2015 Link to this post

    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.

     
  5. Edward
    Edward avatar
    83 posts
    Member since:
    Feb 2011

    Posted 16 Mar 2015 in reply to Martin Link to this post

    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.



  6. Edward
    Edward avatar
    83 posts
    Member since:
    Feb 2011

    Posted 16 Mar 2015 in reply to Edward Link to this post

    I think this has to do with the RadDataBar inside, because if I remove it then it is aligned properly when zoom/scroll around.
  7. Martin
    Admin
    Martin avatar
    1099 posts

    Posted 19 Mar 2015 Link to this post

    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.

     
Back to Top
DevCraft banner