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

Remove slider item client-side?

4 Answers 68 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Ian Poley
Top achievements
Rank 1
Ian Poley asked on 06 Aug 2012, 01:06 AM
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!

4 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 08 Aug 2012, 03:26 PM
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.
0
Jonathan
Top achievements
Rank 1
answered on 12 Sep 2012, 03:06 PM
Hi,

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

Thanks.

0
Slav
Telerik team
answered on 19 Sep 2012, 12:07 PM
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.
0
Jonathan
Top achievements
Rank 1
answered on 25 Sep 2012, 01:26 AM
Hi Slav,

Thanks for the update. Still a fan either way.

Regards,
Jonathan
Tags
Slider
Asked by
Ian Poley
Top achievements
Rank 1
Answers by
Slav
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or