Disable increase/decrease handle click

4 posts, 0 answers
  1. hacker
    hacker avatar
    78 posts
    Member since:
    Nov 2006

    Posted 01 Aug 2007 Link to this post

    I would like to know if there is a way to have the handles display but not able to be clicked?

    The slider looks much better with the + and - graphics in place, but it would be nice to have them disabled so that the user must use the track bar.

    Can this be done?

    Shawn
  2. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 03 Aug 2007 Link to this post

    Hi Shawn,

    By using the ShowDragHandle, ShowDecreaseHandle, ShowIncreaseHandle properties you can control which of the handles will be displayed. By default all handles are displayed. A simple example illustrating this functionality can be found here.

    All the best,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. hacker
    hacker avatar
    78 posts
    Member since:
    Nov 2006

    Posted 03 Aug 2007 Link to this post

    I know that I can hide them completely by using those properties, but what I wanted was to show the Increase / Decrease handle but disable their functionality.  

    In other words, I want them for looks only.

    Shawn
  5. Petio Petkov
    Admin
    Petio Petkov avatar
    825 posts

    Posted 03 Aug 2007 Link to this post

    Hi Shawn,

    The simplest way to achieve this is to have a RadSlider without Increase and Decrease handle. After that you should add the images for increase and decrease handle. Thus they will not be part of RadSlider, but will be visible and will be inactive.

    I hope that this suggestion will help you to achieve your goals.

    Best regards,
    Petio Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top