slider problem

2 posts, 0 answers
  1. mww
    mww avatar
    257 posts
    Member since:
    Sep 2012

    Posted 19 Nov 2008 Link to this post

    can anyone show me how to get a slider control to show numerical increments ?
    Ive used the code from the examples here

    but it doesnt work, I get the slider control but because there are no numrical increments with it the user will have no idea what values the slider is selecting.  Heres the code Ive used
    <telerik:RadSlider ID="RadSlider1" runat="server" ItemType="tick" TrackPosition="TopRight"   
                            SlideStep="5" MaximumValue="20" MinimumValue="5" Skin="Vista" Width="100px" onvaluechanged="RadSlider1_ValueChanged" />  

     If I use this

    <telerik:RadSlider runat="server" ID="RadSlider3" Orientation="Horizontal" Height="50" 
                            ItemType="Item" TrackPosition="BottomRight">  
                                <telerik:RadSliderItem Text="Item" Value="1" ToolTip="Very bad" runat="server"></telerik:RadSliderItem> 
                                <telerik:RadSliderItem Text="Item" Value="2" runat="server"></telerik:RadSliderItem> 
                                <telerik:RadSliderItem Text="Item" Value="3" runat="server"></telerik:RadSliderItem> 
                                <telerik:RadSliderItem Text="Item" Value="4" runat="server"></telerik:RadSliderItem> 
                                <telerik:RadSliderItem Text="Item" Value="5" runat="server"></telerik:RadSliderItem> 
     I get an error
    Type 'Telerik.Web.UI.RadSlider' does not have a public property named Item

    This is strange since its lifted directlry from the example from the link above
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 20 Nov 2008 Link to this post

    Hello Mark,

    I suggest to examine this online demo which shows and explains how to configure the RadSlider in the desired manner. Please, also make sure that you are using the latest build of RadControls, Q3 2008, namely 2008.3 1105, because some of the properties are new and do not exist in older versions.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top