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

Slider databinding not working

1 Answer 77 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Siddharth Akkinepalli
Top achievements
Rank 1
Siddharth Akkinepalli asked on 26 Feb 2009, 05:48 AM
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



1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 03 Mar 2009, 04:47 PM
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.
Tags
Slider
Asked by
Siddharth Akkinepalli
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or