Increase/Decrease Label not swapped when IsDirectionReversed=true

2 posts, 0 answers
  1. Dédé
    Dédé avatar
    60 posts
    Member since:
    May 2009

    Posted 01 Jul 2009 Link to this post

    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.


  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 02 Jul 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top