New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Client-side Programming Overview

RadSlider provides a flexible client-side API that allows you to interact with the slider on the client.

Getting the RadSlider client-side object

RadSlider ClientID

var slider = $find("<%= RadSlider1.ClientID %>");

Client-Side Properties

All the public properties that are defined on the server are available on the client-side object. You can get/set a property value on the client using the following notation: radSlider1.get_[PROPERTY_NAME];radSlider1.set_[PROPERTY_NAME];

For example to get/set the Value property using the client-side object:

var slider = $find('<%= RadSlider1.ClientID %>');
slider.set_value(30);
var sliderValue = slider.get_value();

See Also

In this article