Enable/Disable the Slider

14 Aug 20181 minute to read

Slider control includes an option to enable/disable it. When you disable the Slider, it is displayed in a blur state and you cannot perform any operations in it.

Enabled     

By using this Enabled property, you can enable/disable the Slider. Data type of this property is Boolean. Also you can enable/disable the Slider by using enable and disable methods.

In an ASPX page, define the Slider control and set the Enabled property to false to disable the Slider. 

  • HTML
  • <ej:Slider ID="BasicSlider" runat="server" Width="500" Value="60" Enabled="false"> </ej:Slider>

    The following screenshot displays the output of the above code example.