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

Tick Placement bug - missing thumb

2 Answers 54 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Yen-Sheng
Top achievements
Rank 1
Yen-Sheng asked on 21 Mar 2012, 03:49 AM
The code here produces the image attached.
When using tick placement, it seems to cut off the end thumb when (selection end == maximum) 
I'm not sure what's going on here.

Because this window is in a resizeable rad window, it magically appears once this window is resized.

<
telerik:RadSlider
    IsSelectionRangeEnabled="True"
    TickFrequency="{Binding TickFrequency}"
    SmallChange="{Binding TickFrequency}"
    TickPlacement="TopLeft"
    Minimum="{Binding MinValue, Mode=TwoWay}"
    Maximum="{Binding MaxValue, Mode=TwoWay}"
    SelectionEnd="{Binding SelectionEnd, Mode=TwoWay}"
    SelectionStart="{Binding SelectionStart, Mode=TwoWay}"
    IsDeferredDraggingEnabled="True"
    IsSnapToTickEnabled="{Binding IsSnapToTickEnabled}">
</telerik:RadSlider>
<telerik:RadSlider
    SmallChange="{Binding TickFrequency}"
    IsSelectionRangeEnabled="True"
    Minimum="{Binding MinValue, Mode=TwoWay}"
    Maximum="{Binding MaxValue, Mode=TwoWay}"
    SelectionEnd="{Binding SelectionEnd, Mode=TwoWay}"
    SelectionStart="{Binding SelectionStart, Mode=TwoWay}"
    IsDeferredDraggingEnabled="True"
    IsSnapToTickEnabled="True">
</telerik:RadSlider>


2 Answers, 1 is accepted

Sort by
0
Accepted
Miro Miroslavov
Telerik team
answered on 22 Mar 2012, 08:18 AM
Hello,

 We are aware of this problem and will fix it as soon as possible. In the meanwhile can you try using the Selection property and bind it instead of the SelectionStart and SelectionEnd since in this situation it is better to have atomic change of the selection range. In some cases due to binding delay it may happen that both changes affects each other.

Regards,
Miro Miroslavov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Yen-Sheng
Top achievements
Rank 1
answered on 22 Mar 2012, 08:18 PM
Very unfortunate. :( 
Hopefully it'll get fixed sooner than later. 

Thanks.
Tags
Slider
Asked by
Yen-Sheng
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Yen-Sheng
Top achievements
Rank 1
Share this question
or