Hello Dave Myers,
As far as I understand you, you would like to get a reference to the Label, associated with the RadSlider in the OnClientValueChange handler of the slider control. If this is the case, you can use any approach with the RadSlider as with a standard ASP Button control (in the OnClientClick handler).
The easiest way would be to use a convention for the IDs of the Controls. For example:
- RadSlider1 -> RadSliderLabel1
That way, you can find the ClientID of the Label, using the ClientID of the RadSlider - simply replace the "RadSlider1" substring in the ClientID of the RadSlider with "RadSliderLabel1". You can get the ClientID of the RadSlider control using the get_id() client-side method:
|var sliderClientID = slider.get_id();
Apart from this, you can add an Attribute to the RadSlider control with a value of the ClientID of the Label, associated with that RadSlider. Then, in the OnClientValueChange handler, you can get that value, using the following syntax:
the Telerik team
, the state of the art learning tool for Telerik products.