I am using the following slider on a web-form:
and would like to update two textboxes with each of the slider handle values something like this:
Any code samples or documentation on get_activeHandle() or client API for RangeSliders?
| <telerik:RadSlider ID="RadSlider1" runat="server" OnClientValueChange="HandleValueChange" IsSelectionRangeEnabled="true" /> |
and would like to update two textboxes with each of the slider handle values something like this:
| function HandleValueChange(sender, eventArgs) |
| { |
| // not sure how to tell the difference b/w the two |
| var handle1 = sender.get_activeHandle(); |
| var handle2 = sender.get_activeHandle(); |
| $get("<%=TextBox1.ClientID %>").value = handle1.get_value(); |
| $get("<%=TextBox2.ClientID %>").value = handle2.get_value(); |
| } |
Any code samples or documentation on get_activeHandle() or client API for RangeSliders?