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

[Solved] Slider broken in IE8

1 Answer 22 Views
Slider
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dustin
Top achievements
Rank 1
Dustin asked on 28 Dec 2011, 10:01 PM

So I'm using the following markup for razor...

@(
    Html.Telerik().Slider<double>()
        .Name("sliderQuestionInstance_" + Model.Id)
        .Min(1.00)
        .Max(5.00)
        .LargeStep(1.00)
        .SmallStep(1.00)
        .Orientation(SliderOrientation.Horizontal)
        .ShowButtons(false)
        .TickPlacement(SliderTickPlacement.Both)               
)

Which generates the following html...

<input id="sliderQuestionInstance_2783" max="5" min="1" name="sliderQuestionInstance_2783" step="1" type="range" value="1" />
 
jQuery('#sliderQuestionInstance_2783').tSlider({increaseButtonTitle:'Increase', decreaseButtonTitle:'Decrease', showButtons:false, enabled:true, val:1, smallStep:1, largeStep:1, minValue:1, maxValue:5});

JQuery version is 1.5.1.  This code works perfectly in FF, Chrome, IE7 and IE9 but not IE8.  The page loads in IE8, and the slider appears, but the ticker is stuck near 1 and when I attempt to move it, I get an undefined tooltip.  The ticker is stuck at 1 or 5, nothing between.  IE developer tools show no error in the console.  Anyone see this or have an idea how to fix it?



1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 29 Dec 2011, 03:01 PM
Hi Dustin,

I tried to reproduce the problem but the Slider works fine on my side. I attached a screenshot and the project used to generate the page. Could you check it and see if I missed something?

Greetings,
Daniel
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Slider
Asked by
Dustin
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or