Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Slider > Minimum Maximum range Problem

Not answered Minimum Maximum range Problem

Feed from this thread
  • Albert avatar

    Posted on Jun 9, 2010 (permalink)

    Hello ,

    My current slider code is..

    <telerik:RadSlider Margin="10,10,10,10" x:Name="RadSlider1"   TickPlacement="Both" HorizontalAlignment="Left"  Orientation="Horizontal" HandlesVisibility="Visible" Width="730" Height="30">
                                    <telerik:RadSlider.TickTemplate>
                                        <DataTemplate>
                                            <Grid>
                                                <TextBlock FontSize="8" UseLayoutRounding="True"
    Text="{Binding Converter={StaticResource TickValueConverter}}" />
                                            </Grid>
                                        </DataTemplate>
                                    </telerik:RadSlider.TickTemplate>
    </telerik:RadSlider>

    Code File :

    RadSlider1.Minimum = 0;
    RadSlider1.Maximum = 12;
    RadSlider1.TickFrequency = 1;

    It works OK .

    But i want to set this Minimum range to 2000 and maximum range to 2012 .

    When i m doing this i got stack overflow error .

    Please help me .

    -Thanks

    Reply

  • Kiril Stanoev Kiril Stanoev avatar

    Posted on Jun 10, 2010 (permalink)

    Hi Test,

    Thank you for your feedback. We are aware of this issue and it has already been fixed. The fix will be available with this week's release. Give it a try and let me know if you experience any further issues.

    Greetings,
    Kiril Stanoev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

  • Santhosh avatar

    Posted on Jul 6, 2011 (permalink)

    I have a similar issue. The thumbs doesn't move when the Minimum value is not 0. 
    Works fine if the range is 0 - 1000, but doesn't work if range is 100-1000.
    
    
    <telerik:RadSlider HorizontalAlignment="Left" HorizontalContentAlignment="Left" 
    	    telerik:StyleManager.Theme="Windows7"
       Minimum="{Binding MinValue}" IsTabStop="False"
       Maximum="{Binding MaxValue}"
       SelectionStart="{Binding SelectedMinValue, Mode=TwoWay}"
       SelectionEnd="{Binding SelectedMaxValue, Mode=TwoWay}"
       MinimumRangeSpan="{Binding MinValue}" MaximumRangeSpan="{Binding MaxValue}"
       IsSelectionRangeEnabled="True"
       SmallChange="10" LargeChange="100"
       Width="200">
    </telerik:RadSlider>

    -Santhosh

    Reply

  • Santhosh avatar

    Posted on Jul 6, 2011 (permalink)

    I am using 2011.1.419.1040 version of the dlls.

    Also when the range is between -ve and +ve values, the Maximum value resets to 0 and no selection can be made above 0.

    -Santhosh

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Jul 11, 2011 (permalink)

    Hello Santhosh,

    Could you please help me in reproducing your issues? I prepared a sample that uses your code but, unfortunately, I was unable to  simulate neither the selection range issue, nor the "-ve-+ve" issue. What are the exact values that you bind to? Furthermore, you can test your application with the dlls from the Q2 2011 Beta where a re-factored version of RadSlider is included.

    Best wishes,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Attached files

    Reply

  • Santhosh avatar

    Posted on Jul 12, 2011 (permalink)

    Hi Petar, 

    I saw another post which said to make the binding two way and this fixed my issue.

    http://www.telerik.com/community/forums/silverlight/slider/problem-with-radslider-and-negative-values.aspx

    Thanks for looking into this.

    -Santhosh

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Jul 14, 2011 (permalink)

    Hello Santhosh,

    Please also try the RadSlider from the new Q2 release. The new RadSlider is re-factored, faster and many of its old issues are now resolved.

    Greetings,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Slider > Minimum Maximum range Problem
Related resources for "Minimum Maximum range Problem"

Silverlight Slider Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]