how to set value in slider

2 posts, 0 answers
  1. asdf sdfasd
    asdf sdfasd avatar
    1 posts
    Member since:
    Jun 2009

    Posted 29 Jun 2009 Link to this post


    i am using RadSlider and RadTooltip on my page. I am able to show a slider and save values in database. but in edit mode, when i have the value in database which user selected, i am not able to show it through slider.

    In other words, i want to show db value in slider and let the user decide whether the old value is correct or if user wants to change this value, he should be able to do this.

    i get following javascript error..

    "Radtooltip" is undefined.

    I wanted to know which property would be best to show already selected value in slider and how we can use that?

    Any help is appreciated.

    Thanks in advance,
  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 02 Jul 2009 Link to this post

    Hello asdf sdfasd,
    In order to initially set the value of the RadSlider control, you should use its Value property in case IsSelectionRangeEnabled=false and SelectionStart, SelectionEnd properties in case IsSelectionRangeEnabled=true.

    Regarding the error that you report - I suppose there is a problem with your setup, but I cannot be sure unless I am able to reproduce the error locally. Therefore, could you please post your code that demonstrates the problem here?

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top