HI!
I want to get the values of RadSlider range in client side (on onClientValuechanged) and to set this values to simple input text fields.
How is possible to do this crossbrowser?
function OnClientValueChanging(sender, args) {<br> // Show the tooltip only while the slider handle is sliding. In case the user simply clicks on the track of the slider to change the value<br> // the change will be quick and the tooltip will show and hide too quickly.<br> if (!isSliding) return;<br><br><br> var tooltip = $find("<%= RadToolTip1.ClientID %>");<br><br> tooltip.set_text(args.get_newValue() );<br> document.forms[0].txtSelectionStart.value = sender.get_selectionStart() ;<br> document.forms[0].txtSelectionEnd.value = sender.get_selectionEnd() ;<br> }<br>
Could I use one OnClientValueChanging procedure for few sliders in one page, and to determinate in it which is the name of the caller slider, to assign the slider values to different text field on the client, but without using server-side execution, only on the client, using javascript?
0
Tsvetie
Telerik team
answered on 22 Feb 2010, 06:27 PM
Hi Dimo,
You can check which slider raised the event the following way:
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items.