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

slider Template issue

0 Answers 33 Views
Slider
This is a migrated thread and some comments may be shown as answers.
dCODE
Top achievements
Rank 1
dCODE asked on 23 Feb 2010, 06:14 AM
Hi

 i need to create make my slider dynamic. so i need to change my maximum value for each 5 mins, so am trying to  bind my maximum and minimum value(DateTime) from database. here am facing problem,that i cannot bind the values in minimum,maximum and in the textblock, i cant even call the biniding function here, please tel me how to call and bind my values to the slider

<

 

telerik:RadSlider Minimum="{Binding {StaticResource MinValue}}" Maximum="{Binding {StaticResource MaxValue}}" TickFrequency="1" TickPlacement="BottomRight" IsSnapToTickEnabled="True" Margin="133,175,114,204">

 

 

 

 

 

 

<telerik:RadSlider.TickTemplate>

 

 

 

 

 

 

<DataTemplate>

 

 

 

 

 

 

<StackPanel>

 

 

 

<Ellipse Width="5" Height="5" Fill="Black" HorizontalAlignment="Center"/>

 

 

 

<TextBlock Text="{Binding}" FontSize="10"/>

 

 

 

</StackPanel>

 

 

 

 

 

 

</DataTemplate>

 

 

 

 

 

 

</telerik:RadSlider.TickTemplate>

 

 

 

 

 

 

</telerik:RadSlider>

 

 

No answers yet. Maybe you can help?

Tags
Slider
Asked by
dCODE
Top achievements
Rank 1
Share this question
or