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

    Hi,

     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"
                ondatabound="RadSlider1_DataBound"
                OnValueChanged="RadSlider1_ValueChanged" DataTextField="date"
                DataValueField="ID" Height="20px" ondatabinding="RadSlider1_DataBinding"
                Skin="Black" Width="200px">
            </telerik:RadSlider>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                ConnectionString="<%$ ConnectionStrings:IDIConnectionString %>"
                SelectCommand="SELECT ID, CAST(NAME AS varchar) + ', ' + CAST(YEAR AS varchar) AS date FROM Month">
          
            </asp:SqlDataSource>

    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,
    Siddharth



  2. Tsvetie
    Admin
    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.

    Greetings,
    Tsvetie
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top