Setting the orientation of the slider
The
Orientation property of the RadSlider defines how the slider will be displayed in the page - vertically or horizontally. By default the slider will render horizontally.
To use the property:
- declaratively
Orientation="Horizontal" or
Orientation="Vertical"
- code-behind
RadSlider1.Orentation = Telerik.Web.UI.Orientation.Vertical; or
RadSlider1.Orentation = Telerik.Web.UI.Orientation.Horizontal;
- client-side
RadSlider1.set_orientation(Telerik.Web.UI.Orientation.Horizontal);
RadSlider1.redraw(); or
RadSlider1.set_orientation(Telerik.Web.UI.Orientation.Vertical);
RadSlider1.redraw();