Enable/Disable the Slider
16 Aug 20181 minute to read
Slider widget 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.
The following steps explains you on how to disable the Slider.
- In an VIEW page, specify the helper elements to render the Default Slider.
// Add this code in your view page @(Html.EJ().Slider("defaultSlider").Value("60").Width("500").Enabled(false))
Execute the above code example to render the following output.