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

how to set value in slider

1 Answer 94 Views
Slider
This is a migrated thread and some comments may be shown as answers.
asdf sdfasd
Top achievements
Rank 1
asdf sdfasd asked on 29 Jun 2009, 10:15 PM
Hi,

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,

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 02 Jul 2009, 03:59 PM
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,
Tsvetie
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.
Tags
Slider
Asked by
asdf sdfasd
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or