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

The range setting is not working

3 Answers 67 Views
RangeSelector
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Veteran
Steve asked on 23 Nov 2020, 05:54 AM

The setting does not work when the range is left at its default setting.
Setting does not work when only one default setting is modified.

 

version: 2019.2.618.40

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 24 Nov 2020, 01:46 PM

Hello, Steve,   

By default, RadRangeSelector has a range [20,70]: 

If you change only the StartRange, it is successfully serialized in the designer file:

Following the provided information, I was unable to replicate the incorrect behavior with the latest version of the Telerik UI for WinForms suite. Could you please upgrade and give another try of the project with the latest version? Alternatively, you can try setting the range at run time.

 I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Steve
Top achievements
Rank 1
Veteran
answered on 25 Nov 2020, 02:42 AM
If you associate it to a ChartView control, the issue will definitely replicate.
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 26 Nov 2020, 10:57 AM

Hello, Steve,   

If I adjust the start/end range in RadRangeSelector at design time and associate it with a RadChartView at design time as well, the range gets adjusted in correspondence with the chart.

Design time:

Please refer to the below screenshots demonstrating the InitializeComponents method and its workflow:

Initially, you have the default range [30,70]:

Associating a chart will adjust the range:

You manipulate only the StartRange at design time and it would affect only the start, but not the end:

Shown form:

I would recommend you either to update both start/end range at design time or associate the chart and specify the range at run time:

            this.radRangeSelector1.AssociatedControl = this.radChartView1;
            this.radRangeSelector1.StartRange = 10;
            this.radRangeSelector1.EndRange = 70;

Should you have further questions please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
RangeSelector
Asked by
Steve
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Steve
Top achievements
Rank 1
Veteran
Share this question
or