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

[Solved] Slider + Editor+IE9

1 Answer 55 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.
Dmitry
Top achievements
Rank 1
Dmitry asked on 11 Mar 2012, 03:36 PM
Steps to reproduce:
  1. VS2010 Sp1 MVC3 project template
  2. Telerik MVC Extensions 2012.1.214 installed via NuGet

Add registrators to the layout page:

@using Telerik.Web.Mvc.UI
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    @{ Html.Telerik().StyleSheetRegistrar()
    .DefaultGroup(group => group.Add("telerik.common.css")
                            .Add("telerik.vista.css")).Render(); }
 
</head>
<body>
    <div class="page">
        <header>
            <div id="title">
                <h1>My MVC Application</h1>
            </div>
            <div id="logindisplay">
                Welcome <strong>@User.Identity.Name</strong>!
            </div>
            <nav>
                <ul id="menu">
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                </ul>
            </nav>
        </header>
        <section id="main">
            @RenderBody()
        </section>
        <footer>
        </footer>
    </div>
 @{ Html.Telerik().ScriptRegistrar().Render(); }
  
</body>
</html>

Add Slider and Editor to the Index page:
@using Telerik.Web.Mvc.UI
@{
    ViewBag.Title = "Home Page";
}
 
<h2>@ViewBag.Message</h2>
<p>
    To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc<;/a>.
</p>
    @(Html.Telerik().Slider<double>()
                                                            .Name("Slider")
                                                            .Min(1)
                                                            .Max(4)
                                                            .SmallStep(1)
                                                            .LargeStep(1)
                                                            .Orientation(SliderOrientation.Vertical)
                                                            .ShowButtons(false)
                                                            .TickPlacement(SliderTickPlacement.None)
                                                            .Value(1))
@{ Html.Telerik().Editor()
           .Name("editor")
           .HtmlAttributes(new { style = "height:400px" })
           .Encode(false)
           .Render();
    }

Open Index page in IE9 and click on the slider => IE9 stop's working.

1 Answer, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 14 Mar 2012, 05:05 PM
Hi Dmitry Bulavin,

Thank you for reporting this issue.

I confirm that it is a bug. I am glad to inform you that it is fixed and the bug fix will be included with next official release of Telerik Components for ASP.NET MVC. 

Attached is the the modified telerik.slider.min.js file.

I have updated your Telerik points.

Kind regards,
Hristo Germanov
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
Dmitry
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Share this question
or