Minimum Maximum range Problem

7 posts, 0 answers
  1. Albert
    Albert avatar
    36 posts
    Member since:
    May 2010

    Posted 09 Jun 2010 Link to this post

    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

  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1511 posts

    Posted 10 Jun 2010 Link to this post

    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.
  3. DevCraft banner
  4. Santhosh
    Santhosh avatar
    21 posts
    Member since:
    Oct 2010

    Posted 06 Jul 2011 Link to this post

    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
  5. Santhosh
    Santhosh avatar
    21 posts
    Member since:
    Oct 2010

    Posted 06 Jul 2011 Link to this post

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

    Posted 11 Jul 2011 Link to this post

    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!

  7. Santhosh
    Santhosh avatar
    21 posts
    Member since:
    Oct 2010

    Posted 12 Jul 2011 Link to this post

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

    Posted 14 Jul 2011 Link to this post

    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!

Back to Top
DevCraft banner