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

Slider as an editor

4 Answers 35 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.
Rafael
Top achievements
Rank 1
Rafael asked on 28 Mar 2011, 01:43 PM
hi
I want to use slider as an editor in grid filed
here is my editor .ascs

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
    <%= Html.Telerik().Slider<int>().Name("PerformanceSlider")
        .Min(0).Max(100)
        .SmallStep(20).LargeStep(20)
        .TickPlacement(SliderTickPlacement.BottomRight)
        .Orientation(SliderOrientation.Vertical)
        .ShowButtons(true)
    %>

And it works except that just one (decrease) button is displayed
Please help how to display both buttons

4 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 28 Mar 2011, 03:10 PM
Hi Rafael,

Thank you for reporting this issue.

I confirm this is a bug and it will be fixed with the SP1 of Telerik Components for ASP.NET MVC.

You need to replease this:

.t-slider-vertical .t-button-decrease
{
 top: auto;
 bottom: 0;
}

with this in the telerik.common.css:

.t-slider-vertical .t-button-decrease,
.t-grid .t-slider-vertical .t-button-decrease
{
 top: auto;
 bottom: 0;
}

I have updated your telerik points.

All the best,
Hristo Germanov
the Telerik team
0
Rafael
Top achievements
Rank 1
answered on 28 Mar 2011, 03:19 PM
thank you Hristo
Could you prompt what should be changed in telerik.common.min.js
I can't find that code in min.js
0
Dimo
Telerik team
answered on 28 Mar 2011, 03:34 PM
Hello Rafael,

Sorry, it should read telerik.common.css

All the best,
Dimo
the Telerik team
0
Rafael
Top achievements
Rank 1
answered on 28 Mar 2011, 03:41 PM
nothing found in telerik.common.min.css
Tags
Slider
Asked by
Rafael
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Rafael
Top achievements
Rank 1
Dimo
Telerik team
Share this question
or