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

Default Slider Value

1 Answer 279 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Bruce
Top achievements
Rank 1
Bruce asked on 28 Sep 2013, 10:31 AM
I have a RadSlider from 1 to 10, everything is working the way I want to, but the Slider always starts with a value of 10. I want the default value to be 1. How can I set this up?

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 03 Oct 2013, 05:48 AM
Hi Bruce,

I can not be sure about your current implementation, this is why I would like you to elaborate more on your scenario. I tried to reproduce the reported behavior with our latest official release on our side and it seems that the code works as expected.

I tried the following code:

<Grid >
    <Grid.Resources>
        
    </Grid.Resources>
    <Grid.RowDefinitions>
        <RowDefinition  />
        <RowDefinition  />
    </Grid.RowDefinitions>
     
    <telerik:RadSlider Name="xSlider"
                       Grid.Row="0"
                       Grid.Column="0"
                       TickPlacement="Both"
                       Maximum="10"
                       Minimum="1"
                       TickFrequency="1" />
    <TextBlock Text="{Binding ElementName=xSlider, Path=Value}" Grid.Row="1"/>
</Grid>
When I run the application containing this code, the default Value of the RadSlider control is 1.

Could you please try to reproduce the reported behavior in a separate project and send it over. By doing so I will be able to further investigate the reasons behind the issue.

Thank you for your cooperation.

Regards,
Pavel R. Pavlov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Slider
Asked by
Bruce
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or