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

RadSlider with 2 handlers.

3 Answers 23 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 22 Nov 2012, 11:35 AM
How can I set values for two handlers in a rad slider... When I move my handlers, the respective value of my handler should be displayed.. Can anyone help me??? I do not need the tool tip sample.. I want to display in two textboxes..

3 Answers, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 27 Nov 2012, 09:35 AM
Hello Karthik,

You can use the client-side API of the RadSlider to set its values through textboxes and to update these textboxes when the values of the slider are changed.

For your convenience I have attached a sample page that demonstrates the suggested approach. Please use it as a reference for implementing the desired functionality.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Karthik
Top achievements
Rank 1
answered on 29 Nov 2012, 04:50 AM
Thank you so much... It was really helpful... My requirement is such that I need to change the handler value with respect to the value I enter into the textbox without using the SET button... Is there any way to do that???
0
Slav
Telerik team
answered on 03 Dec 2012, 05:19 PM
Hi Karthik,

You can use the JavaScript event onkeyup to pass the textbox value to the slider when a user releases a key. Another option is to handle the JavaScript event onblur when a user leaves the textbox. The function SetValue will be utilized as a handler for the chosen event and the rest of the implementation will be similar to the one in the example from my previous post.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
SkinManager
Asked by
Karthik
Top achievements
Rank 1
Answers by
Slav
Telerik team
Karthik
Top achievements
Rank 1
Share this question
or