GDocsOpen - Open, Edit and Save DOC and XLS files directly from Windows using Google Docs

Slider

You can choose the orientation of the Slider control through the Orientation property. If you set it to Horizontal, you'll have a horizontal slider, if you don't set it, or set it to Vertical, you'll have a vertical slider.

You also have access to a OnClientChange client handler, which is triggered when user changes the client value.

You also have a MinValue and a MaxValue property, to limit the user input.

Another nice feature is that you can force an increment step.If you want to only be able to choose even values, you can easily do this by setting the IncrementSize property to 2.

If you need negative or decimal values, you have the IncrementFactor property, which will give you access to the real values. You can see this behaviour in the live demo section.

<yui:Slider ID="horizSlider" OnClientChange="showValueH" 
    IncrementSize="10" IncrementFactor="0.005" InitialValue="0" 
    Orientation="Horizontal" MaxValue="200" runat="server" />