To change the length of a slider I would change the Length property to a pixel amount.
Eg:
Length="780"
Is there a way to get the slider to stretch to the size of the current div or page?
Length="auto"
or
Length="100%"
both don't seem to work
1 Answer, 1 is accepted
0
Tsvetie
Telerik team
answered on 08 Jan 2009, 08:38 AM
Hello Tim,
First of all, please use Width and Height to set the size of the RadSlider - the Length property is obsolete.
Now, to your question - the RadSlider does not support size in percent for performance reasons. But in case you need this functionality, you can implement it yourself, using the slider client API. Basically, you need to handle the window.resize event, calculate the new width of the slider's parent element and set the new width to the slider.