Remove slider item client-side?

5 posts, 0 answers
  1. Ian Poley
    Ian Poley avatar
    3 posts
    Member since:
    Feb 2008

    Posted 05 Aug 2012 Link to this post

    Is it possible to remove an item from a slider via Javascript? Essentially, I'm looking for a way to limit the number of slider items based on the user's screen resolution but can't figure out how to remove a slider item and have it repaint correctly. Any help is greatly appreciated!
  2. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 08 Aug 2012 Link to this post

    Hi Ian,

    Currently the client-side API of RadSlider does not support adding and removing items. Nevertheless, you can achieve a similar effect by performing an AJAX request to the server in order to add and remove items from its Items collection:
    RadSlider1.Items.Add(new RadSliderItem("Item 1", "Value1"));
    RadSlider1.Items.Remove(0);


    Regards,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jonathan
    Jonathan avatar
    47 posts
    Member since:
    Sep 2010

    Posted 12 Sep 2012 Link to this post

    Hi,

    Is client side functionality for the radslider coming in a future release? Is it at least in the roadmap?

    Thanks.

  5. Slav
    Admin
    Slav avatar
    1355 posts

    Posted 19 Sep 2012 Link to this post

    Hi Jonathan,

    The client-side feature that will allow adding and removing RadSlider items on the client-side is in our To Do list. Nevertheless, currently we have tasks with higher priority so I am unable to provide a firm estimate when this feature will be implemented. You can track its status and vote for it via this PITS Item.

    Kind regards,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Jonathan
    Jonathan avatar
    47 posts
    Member since:
    Sep 2010

    Posted 24 Sep 2012 Link to this post

    Hi Slav,

    Thanks for the update. Still a fan either way.

    Regards,
    Jonathan
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017