Client Selection Start / End

4 posts, 1 answers
  1. Peter Zolja
    Peter Zolja avatar
    119 posts
    Member since:
    Dec 2007

    Posted 17 Dec 2008 Link to this post

    How can I access the selection end / start (when IsSelectionRangeEnabled is true) with Javascript?

    Thanks.
  2. Peter Zolja
    Peter Zolja avatar
    119 posts
    Member since:
    Dec 2007

    Posted 17 Dec 2008 Link to this post

    It's actually sender.get_selectionStart() and sender.get_selectionEnd(), where sender is the slider. Unfortunately, this gives me the position rather than the actual value :(
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Peter Zolja
    Peter Zolja avatar
    119 posts
    Member since:
    Dec 2007

    Posted 17 Dec 2008 Link to this post

    To access the value: 

    sender.get_itemData()[sender.get_selectionStart()].value 
    and 
    sender.get_itemData()[sender.get_selectionEnd()].value

    Would be nice if these were documented :)
  5. Answer
    Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 18 Dec 2008 Link to this post

    Hello Peter Zolja,
    We already have the task to update the documentation of the RadSlider control with those methods. We will do our best to complete this task for SP2, scheduled for the middle of January.

    Kind regards,
    Tsvetie
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top