Slider databinding not working

2 posts, 0 answers
  1. Siddharth Akkinepalli
    Siddharth Akkinepalli avatar
    3 posts
    Member since:
    Dec 2008

    Posted 25 Feb 2009 Link to this post


     I am trying to use the slider as a time line. here is the declaration code:

    <telerik:RadSlider AutoPostBack="true" IsSelectionRangeEnabled="true"  ID="RadSlider1" runat="server"  DataSourceID="SqlDataSource1"
                OnValueChanged="RadSlider1_ValueChanged" DataTextField="date"
                DataValueField="ID" Height="20px" ondatabinding="RadSlider1_DataBinding"
                Skin="Black" Width="200px">
            <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                ConnectionString="<%$ ConnectionStrings:IDIConnectionString %>"
                SelectCommand="SELECT ID, CAST(NAME AS varchar) + ', ' + CAST(YEAR AS varchar) AS date FROM Month">

    It says: error in rendering control. The method or operation is not implemented..

    Can you please help me in binding the slider to a datasource?

    Thanks in advance,

  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 03 Mar 2009 Link to this post

    Hello Siddharth,
    The RadSlider control does not support databinding. Please refer to this forum post for information how to create a SliderItem for each record in your DataTable.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top