Slider dragging problem

2 posts, 0 answers
  1. Ning
    Ning avatar
    5 posts
    Member since:
    Apr 2011

    Posted 26 Nov 2012 Link to this post


    The slider with previous releases has worked perfectly for me. However, since I updated to the latest Telerik release, as soon as I start to drag the slider, the browser pops up a "Microsoft JScript Runtime Error: Invalid arguments" error box. The problem only happens when I drag the marker. If I click on a different part of the slider, the marker moves to the clicked position fine.

    When I tried to debug the problem, the debugger shows the following code:

    ...onDragStart:function(v){var r=v.element;
    if(r===this._selectedRegionElement){return this._onDragStartRange(v);
    }var k=parseInt($telerik.getCurrentStyle(r,"left",0));
    }var f=parseInt($telerik.getCurrentStyle(r,"top",0));

    And the problem happens in the highlighted line. The value of "$telerik.getCurrentStyle(r,"left",0)" is "auto", and "" is "". So you can see where the problem is. Any suggestions?

  2. Slav
    Slav avatar
    1359 posts

    Posted 29 Nov 2012 Link to this post

    Hi Ning,

    This is a known issue, which happens when the drag handle of a vertical RadSlider is dragged under IE7 (including Compatibility mode). It is brought to the attention of our developers and it will be fixed in a future release of the RadControls for ASP.NET AJAX, nevertheless I am not able to provide a firm estimate when a solution will be available. You can follow the status of this issue via its PITS Item.

    For the time being you can use the following workaround - just add the CSS code below in the head tag of your page:
    <style type="text/css">
        * + html div.RadSlider .rslVertical a.rslDraghandle
            left: -9px !important;

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top