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

How to change minvalue?

3 Answers 77 Views
Slider
This is a migrated thread and some comments may be shown as answers.
siva
Top achievements
Rank 1
siva asked on 11 May 2012, 08:27 AM
I need to change min value from 0 to 2010 and value also should move according to that like in this attached image.

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 16 May 2012, 07:19 AM
Hello Siva,

 You can find attached an example showing the desired result. It's XAML is only a few lines:

<telerik:RadSlider x:Name="slider"
                         Minimum="2010"
                         Maximum="2022"
                         TickFrequency="2"
                         VerticalAlignment="Center"
                         IsSnapToTickEnabled="True"
                         TickPlacement="BottomRight"
                         Width="500"
                         MaximumRangeSpan="1">           
          <telerik:RadSlider.TickTemplate>
              <DataTemplate>
                  <TextBlock Text="{Binding }" />
              </DataTemplate>
          </telerik:RadSlider.TickTemplate>
      </telerik:RadSlider>
Let us know if you need further assistance.

Kind regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Muthukumar
Top achievements
Rank 1
answered on 16 May 2012, 10:39 AM
hi Team,
i could not open the previous solution. the solution is developed in SL5. But i need silverlight 4 solution.
Moreover i took that XAML out and i have created a new solution in SL4 with reference telerik.windows.control dll
version 2011.2.712.1040.
the output is below, find out the image.
it ll plot from 0,2,4,6,8.....................13

thanks,
Muthu
 
0
Petar Mladenov
Telerik team
answered on 19 May 2012, 07:04 AM
Hello Muthukumar,

 Indeed, there was a bug in the Ticks in Q2 2011 (0712). The fix is included in Q2 2011 SP (0920) version of RadControls. You can check this out in the attached project.

Regards,
Petar Mladenov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Slider
Asked by
siva
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Muthukumar
Top achievements
Rank 1
Share this question
or