Maximum range value of the slider

6 posts, 0 answers
  1. Pavan
    Pavan avatar
    1 posts
    Member since:
    Aug 2012

    Posted 06 Aug 2012 Link to this post

    Telerik team,

    I am facing an issue while I am setting the maximum and minimum value of the slider, If i set minimum value as 0 and maximum value as 40000000 the page doesn't load at all. Here is the code below :

     var MInvestmentTarget = $("#MInvestmentTarget").kendoSlider({   
                        min: 0,
                        max: 40000000,
                        tickPlacement: "none",
                        showButtons: false
                        MInvestmentTarget = function (e) {
                            if (e.type != "keypress" || kendo.keys.ENTER == e.keyCode) {
                                var value = parseInt($("#InvestmentTargettxtBoxValue").val());
                                if (isNaN(value) || value < 0 || value > 40000000){
                                    alert("Value must be a number between 0 and 40000000");

    The page takes a long time to load in any of the browser and finally it crashes.

    If I give the maximum value as 4000000, it works perfectly fine. The page loads properly.

    So I want to know if there is a limit on the Maximum value that can be given for the slider ?
    Or is it a mistake in the code which is causing this error.

    Awaiting your response

  2. raj
    raj avatar
    5 posts
    Member since:
    Nov 2011

    Posted 06 Aug 2012 Link to this post


     Same here..Any help from Telerik?

  3. Murali
    Murali avatar
    2 posts
    Member since:
    Oct 2011

    Posted 06 Aug 2012 Link to this post


    I'm also facing the same problem...
    Any help from KendoUI team???

  4. Tony
    Tony avatar
    2 posts
    Member since:
    Jul 2016

    Posted 28 Sep 2016 Link to this post

    I am facing the same problem.

    Any solution ??

  5. Dimiter Topalov
    Dimiter Topalov avatar
    1290 posts

    Posted 03 Oct 2016 Link to this post


    The described behavior is caused by the fact that when the max value is a large number, and smallStep and largeStep options are not set to be in some adequate proportion, it is impossible for the widget to correctly calculate all positions for values between the min and max values.

    We are not able to give an estimate of the largest number that can be used without specifying smallStep and largeStep, as this will vary between browsers, and systems, but in all cases it is strongly recommended to set the mentioned configuration options:

    If the scenario requirements prohibit the suggested approach, a Kendo UI NumericTextBox might be the more suitable widget.

    Dimiter Topalov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
  6. Tony
    Tony avatar
    2 posts
    Member since:
    Jul 2016

    Posted 03 Oct 2016 in reply to Dimiter Topalov Link to this post

    Ah ok, thx Dimiter.

    so having large steps do solve the problem...

Back to Top