"ReadOnly" Splitter

2 posts, 0 answers
  1. rubenhak
    rubenhak avatar
    58 posts
    Member since:
    Dec 2008

    Posted 25 Sep 2009 Link to this post


    I have the following splitter defined:

    <telerik:RadSlider ID="sliderDisk" runat="server" ShowDecreaseHandle="False" ShowDragHandle="False" 
        TrackPosition="TopLeft" Height="40px" Width="200px" ShowIncreaseHandle="False" 
        Skin="Black" Value="30" ItemType="Tick" LargeChange="20" ForeColor="#252525" 
        SmallChange="20" > 

    I want to make it "readonly" so it does not get an input from user and change the progress upon mouse click. Is there a way to do that?

    I also tried to make Enabled="False", it works but the splitter itself doesn't look good.


  2. Tsvetie
    Tsvetie avatar
    1517 posts

    Posted 29 Sep 2009 Link to this post

    Hi rubenhak,
    You can use the Enabled="False" setting and change the CSS that is applied to the disabled RadSlider. We have demonstrated how you can do this in our Reversed Direction online demo (the thermometer slider).

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Telerik UI for ASP.NET Core is out
Back to Top