ComponentOne Extender Controls for ASP.NET Web Forms
Wijmo Control Toolkit Extender Controls / C1Slider Extender / Setting C1SliderExtender's DragFill Behavior
In This Topic
    Setting C1SliderExtender's DragFill Behavior
    In This Topic

    C1SliderExtender allows you to create a stylable range element that can be dragged between the two handles.

    1. Create a new ASP.NET Web application.
    2. In your Web application, add a standard Panel control to the main content of  your page and set the ID as hSlider.
    3. Set the CssClass of your Panel control as hSlider. This will allow you to add CSS styling to the C1SliderExtender.
    4. In Source View, drag a C1SliderExtender control to the page.
    5. Select View | Properties from the Visual Studio menu and find the C1SliderExtender in the drop-down list at the top of the Properties window.
    6. Locate the C1SliderExtender.DragFill property and set it to true.
    7. Locate the C1SliderExtender.Range property and set it to true.
    8. Set the C1SliderExtender.Value property to 2 and the C1SliderExtender.Values property to  3, 105.
    9. Add the following CSS styling to the first set of <asp:Content> tags to set the width and height of the control. This will make it easier to see the DragFill behavior.

    <style type="text/css">

                .hSlider

                {

                      width: 300px;

                      height: 100px;

                }

                .header2

                {

                      margin-bottom: 10px;

                }

          </style>

    1. Press F5 to run your application. The C1SliderExtender control should resemble the following image: