ComponentOne Slider for ASP.NET WebForms
Task-Based Help / Setting C1Slider's Range
In This Topic
    Setting C1Slider's Range
    In This Topic

    C1Slider supports capturing a range of values with two drag handles. This topic will walk you through setting the properties that will allow two drag handles in Design View and in Source View.

    In Design View

    1. In the Design View, navigate to the C1Slider Properties window.
    2. Locate the Range property and use the drop-down menu to set it to "true".
    3. Locate the Values property and click the ellipsis button to use the Int32 Collection Editor to add the values "25" and "50".

    4. Run your project. Your slider should resemble the following image.

    Source View

    Add Range="True" and Values="25,50" to the <cc1:C1Slider> tags to resemble the following:

    Copy Code
    <cc1:C1Slider ID="C1Slider1" runat="server" Range="True" Values="25,50" />
    
    See Also