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

Increase/Decrease Label not swapped when IsDirectionReversed=true

1 Answer 40 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Dédé
Top achievements
Rank 1
Dédé asked on 01 Jul 2009, 09:43 AM
Hi,

I have put a RadSlider as this :
<telerik:RadSlider ID="slideHeight" runat="server" LargeChange="30"  
                MaximumValue="320" MinimumValue="20" Orientation="Vertical"  
                TrackMouseWheel="False" Height="300px"  IsDirectionReversed="True" /> 

When rendered, the labels for increase/decrease handle are not swapped : top one shows "Decrease" instead of "Increase".

Can you tell me if I'm wrong please ?

Thanks.


1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 02 Jul 2009, 03:22 PM
Hi Damien,
I was able to reproduce the problem you describe and forwarded it to our developers. We will fix it for Q2 2009 SP1. For the time being, you can use the following workaround:
<telerik:RadSlider ID="slideHeight" runat="server" LargeChange="30" MaximumValue="320" 
    MinimumValue="20" Orientation="Vertical" TrackMouseWheel="False" Height="300px" 
    IsDirectionReversed="True" OnClientLoaded="OnClientLoaded" /> 
 
<script type="text/javascript"
function OnClientLoaded(sender, args) 
    var increaseText = sender._increaseHandleElement.title;         
    sender._increaseHandleElement.title = sender._decreaseHandleElement.title; 
    sender._decreaseHandleElement.title = increaseText; 
</script> 

I have updated your Telerik points for bringing the issue to our attention.

Greetings,
Tsvetie
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Slider
Asked by
Dédé
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or