kendo-slider: Setting slider value on destroy/rebind

2 posts, 0 answers
  1. Mike
    Mike avatar
    1 posts
    Member since:
    Jan 2016

    Posted 27 Apr Link to this post

    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?

     

  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 28 Apr Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
Back to Top