slider Template issue

1 posts, 0 answers
  1. dCODE
    dCODE avatar
    18 posts
    Member since:
    Jan 2010

    Posted 23 Feb 2010 Link to this post

    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>

     

     

Back to Top