slider handler (knob) is not extending to the min and max setted

8 posts, 1 answers
  1. Benjamin
    Benjamin avatar
    12 posts
    Member since:
    Nov 2011

    Posted 01 Feb 2012 Link to this post

    I am initializing the slider through javascript object as below:
    ########################################################################################
    <span id="range_display_price_footer"></span>)
    <div id="slider_price_footer" class="slider"><input /><input /></div>
    <script>
    var obj_slider = {
    slObj: [],
    slider_initialise: function(type,min_val,max_val,small_step_val,large_step_val,tick_placement){
    //alert(small_step_val);
    var temp_obj = "fixed_"+type;
    temp_obj = $("#"+type).kendoRangeSlider(
    {
    min: min_val,
    max: max_val,
    selectionStart: min_val,
    selectionEnd: max_val,
                            smallStep: small_step_val,
    largeStep: large_step_val,
    tickPlacement: tick_placement,
    tooltip:false,
    enabled: true,
    slide: this.sliderOnSlide,
    change:this.sliderOnChange
    }).data("kendoRangeSlider");
    obj_slider.slObj[type] = temp_obj;

    },
    sliderOnSlide: function(e){
    var slider_id = document.getElementById('range_display_price_footer');
    slider_id.innerHTML = e.values.toString().replace(",", " - ");
    },
    sliderOnChange: function(e){
    alert(obj_slider.slObj['slider_estimated_val_footer'].values());
    }
    };
    obj_slider.slider_initialise('slider_price_footer',100,10000000,10000,10000,'both');
    </script>
    ##############################################################################################
    if i call slider_initialise function with min=0 and max=1000000
    BUT if change the min value other than zero like 100 as shown in code above, both of the slider handler (knob) shrink together on the left side.

    Please help me how do i fix this.
    Thank you!
  2. Answer
    Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 02 Feb 2012 Link to this post

    Hello Banjamin Alev,

    Thank you for contacting us.

    Could you please tell me what is the smallStep of the slider?

    Kind regards,
    Hristo Germanov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Benjamin
    Benjamin avatar
    12 posts
    Member since:
    Nov 2011

    Posted 02 Feb 2012 Link to this post

    Hi Hristo Germanov,

    smallStep
     = 10000;

    i am initializing the slider by calling function as:
    obj_slider.slider_initialise('slider_price_footer',100,10000000,10000,10000,'both'); 
    where
    4th parameter =  smallStep = 10000 

    Thanks!
  5. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 03 Feb 2012 Link to this post

    Hi Benjamin,

    I confirm that this is a bug and I glad to inform you that it is already fixed. The fix will be include with the next official release of Kendo UI.

    I have update your telerik points.

    All the best,
    Hristo Germanov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Benjamin
    Benjamin avatar
    12 posts
    Member since:
    Nov 2011

    Posted 03 Feb 2012 Link to this post

    Hristo,
    Sometimes bugs like this can be fixed with an alteration of two or three lines of the core code. Could we self-heal this code ourselves prior to the next release? This fix is critical to a production page I am currently working on.  OR, can we have access to this pre-release version that includes the fix?  If the official release is forthcoming in the next few days, we will be fine, but if it is in weeks or months, it will cripple this page.
  7. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 08 Feb 2012 Link to this post

    Hello Benjamin,

    I am glad to inform you that the bug fix is included in SP1 of Kendo UI. Can you update to SP1 and please tell me if you have any problems with the slider.

    Greetings,
    Hristo Germanov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  8. Benjamin
    Benjamin avatar
    12 posts
    Member since:
    Nov 2011

    Posted 08 Feb 2012 Link to this post

    These are the current releases available to download. 

    1. 2011.3.1407 0 (Feb 7, 2012)
    2. 2011.3.1407 0 (Nov 29, 2011)
    3. 2011.2.1007 BETA2 (Oct 7, 2011)

    Is the Feb 7th release actually SP1?  The Version Notes list the following changes to the slider: "Fixed: Multiple slider tooltips can be visualized in iPad"

  9. Hristo Germanov
    Admin
    Hristo Germanov avatar
    703 posts

    Posted 09 Feb 2012 Link to this post

    Hi Benjamin,

    2011.3.1407 0 (Feb 7, 2012)  is the SP1 of the Kendo UI and the release notes for this bug are missing. Please excuse us for the inconvenience.

    All the best,
    Hristo Germanov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top
Kendo UI is VS 2017 Ready