select

Slider / Orientation

Rate this demo: Feedback
Run example in: C# VB.NET Change Skin:
Vista
  • BlackBlack
  • DefaultDefault
  • ForestForest
  • HayHay
  • Office2007Office2007
  • OutlookOutlook
  • SimpleSimple
  • SitefinitySitefinity
  • SunsetSunset
  • TelerikTelerik
  • VistaVista
  • Web20Web20
  • WebBlueWebBlue
  • Windows7Windows7
Horizontal slider (default)

Vertical slider (Orientation="Vertical")

Example Source Code & Description

Instructions
Open in new window
  • 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();
Compatible with ASP.NET 2.0, 3.5 AJAX enabled Accessibility Verified!Valid XHTML 1.1! Optimized for Visual Studio 2005, 2008
Copyright 2002-2010 © Telerik. All right reserved  | 
Telerik Inc., 460 Totten Pond Rd, Suite 640, Waltham, MA 02451

www.telerik.com  |  Terms of Use  |  Contact Us