How to change minvalue?

4 posts, 0 answers
  1. siva
    siva avatar
    6 posts
    Member since:
    May 2011

    Posted 11 May 2012 Link to this post

    I need to change min value from 0 to 2010 and value also should move according to that like in this attached image.
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 16 May 2012 Link to this post

    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 >>

  3. DevCraft banner
  4. Muthukumar
    Muthukumar avatar
    15 posts
    Member since:
    Oct 2011

    Posted 16 May 2012 Link to this post

    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
     
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 19 May 2012 Link to this post

    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 >>

Back to Top