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

slider tickmark text bound to IValueConverter class do not display right values in latest version

1 Answer 34 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Anne Lyon
Top achievements
Rank 1
Anne Lyon asked on 22 Aug 2011, 11:25 AM
Hello,

I upgraded one of my projects to the latest version, 2011.2 just to find that my slider does not wotk properly anymore. I use a IValueConverter class to set the text for each tickmark to a formatted date string based on the OADate value for that tickmark. With the slider ranging from a year back until today (OADate 40412 to 40777) the ValueConverter should be called with first value of 40412 by intervals of 44 until 40777 as the last tickmark. This works fine in version 2011.1 and all other previous versions.
But now the IValueConverter class is called with a starting value of 0, then called again for each tickmark with a correct interval of 44 until the last value of 440. Not unexpectedly this does not give the correct date labels...
See the attached screenshot for "before and after" images. 
It looks like, though, that the slider SelectionStart/End and Minimum/Maximum values are set correct.

I hope there is an easy fix to this problem as I am reluctant to revert back to an older Telerik version...

thanks,
Anne Lyon

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 25 Aug 2011, 10:09 AM
Hi Anne Lyon,

 We are aware of this issue in the official Q2 2011 0712 version of RadControls. The good news is that we already fixed this and the fix is included in the latest internal build. You can download them from your account page at www.telerik.com. The fix will be also included in the next official releases. Please excuse us for the inconvenience caused.

Kind regards,
Petar Mladenov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Slider
Asked by
Anne Lyon
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or