Slider Dynamic

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

    Posted 16 Feb 2012 Link to this post

    Hello

    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
    Mona
     
  2. Slav
    Admin
    Slav avatar
    1355 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");
      RadSlider1.Items.Add(sliderItem);
       
      RadSlider1.Items.Remove(0);
    • 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.

    Greetings,
    Slav
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top