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

RadSlider in RadContextMenu?

2 Answers 49 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Bobby
Top achievements
Rank 1
Bobby asked on 30 May 2008, 04:56 PM
Is it possible to place a radslider inside a radcontextmenu control. I tried to place the radslider in the ItemTemplate of a RadMenuItem but the slider does not function correctly. It shows but when I try to use the slider, nothing happens. Any ideas?

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Erjan Gavalji
Telerik team
answered on 02 Jun 2008, 10:30 AM
Hi Bobby,

The problem comes, because RadSlider is located in an invisible element (the context menu item) during its initialization. The solution is to call the redraw() method of the RadSlider client-side object when it is made visible (i.e. when the context menu is shown). Please, find attached a small page, demonstrating this approach.

I hope this helps.

Kind regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Bobby
Top achievements
Rank 1
answered on 02 Jun 2008, 03:16 PM
Thank you. That did it.
Tags
Slider
Asked by
Bobby
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Bobby
Top achievements
Rank 1
Share this question
or