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

RadTrackBar's minimum value is automatically set to 19

1 Answer 72 Views
TrackBar
This is a migrated thread and some comments may be shown as answers.
Sebastian
Top achievements
Rank 1
Sebastian asked on 16 Aug 2017, 01:59 PM

Hello all together!

 

I am currently experiencing the below issues with RadTrackBar.

 

TrackBar.Minimum is set to 50.

TrackBar.Maximum is set to 150.

TrackBar.Value is set to 100.

 

I guess, everybody should now expect the track bar to move the knob in the exact middle of the control. But it simply doesn't. When looking at the track bar's minimum, maximum and value properties during FormLoad event, I discovered that the minimum changed to 19.

What I did next was searching for the number in the designer class of the respective form, assuming that Visual Studio somehow messed it up as it is always doing from time to time. But nothing found here. Setting the minimum value again in FormLoad fixes the problem, but this should not be the default approach when working with a RadTrackBar. So this must be a bug, right?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Aug 2017, 06:29 AM
Hi Sebastian,

By default, the maximum is 20 and since the minimum cannot be larger it will be set to 19. So you just need to set the maximum first.

I hope this will be useful.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TrackBar
Asked by
Sebastian
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or