Slider Dynamic

2 posts, 0 answers
  1. Mona
    Mona avatar
    2 posts
    Member since:
    Dec 2011

    Posted 16 Feb 2012 Link to this post


    this is the first time use slider so i need help
    i ll use slider to make sliding between 2 days, in the first time i load slider, i put the rang of days that i need to be the default but after that i need to change in this range when customer need to see more days by using increasehandler and decreasehandler 

    is it possible, please if it possible i need it server side (if can)

    Thanks a lot
  2. Slav
    Slav avatar
    1359 posts

    Posted 21 Feb 2012 Link to this post

    Hello Mona,

    The scenario that you want to implement is not quite clear. Please check the following examples, as they could help you achieve the desired functionality:

    • The Items collection of RadSlider can be used in order to add and remove items on the server-side. The code sample below demonstrates this:
      RadSliderItem sliderItem = new RadSliderItem("Excellent", "6");
    • The RadSlider control can be databound as shown in the online demo Slider / Databinding.

    The approaches, shown above, can be utilized for modifying the items of the RadSlider control on your page. As stated in this help article, the slider control has a server-side event OnValueChanged, which is fired when the user changes the Value with the mouse or mouse wheel. You can use this event to detect a handler click and to execute your logic.

    If you are still having difficulties after reviewing the provided information, please elaborate on the functionality that you want to achieve, so that I can provide an according solution.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top