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

kendo-slider: Setting slider value on destroy/rebind

1 Answer 150 Views
Slider
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 27 Apr 2016, 05:15 PM

I have a page where slider control options max value get updated as the user makes selections on the page.

The rebuild event occurs fine, and tick marks reflect the new max. However the value defaults to minimum and does not keep the value previously bound to the control. 

I have wired up $scope.$on for both kendoWidgetCreated and kendoRendered and try to re-apply the value in these events but the result is the same, the slider does not reflect the value set in either event and defaults to the slider min value again.

What other events should I listen for, or otherwise, how can I set the slider value after the page has been rebound to new data and the slider has new options?

 

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 28 Apr 2016, 09:08 AM
Hello,

Please check the following sample and let me know if it helps:

http://dojo.telerik.com/iMucU


Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Slider
Asked by
Mike
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or