Search results

Disable ColorPicker in ASP.NET MVC ColorPicker control

19 Oct 2021 / 1 minute to read

To achieve disabled state in ColorPicker, set the disabled property to true. The ColorPicker pop-up cannot be accessed in disabled state.

The following example shows the disabled state of ColorPicker component.

Copied to clipboard
<div class='wrap'>
    <h4>Disabled state</h4>

    .wrap {
        margin: 0 auto;
        width: 300px;
        text-align: center;
Copied to clipboard
public ActionResult Disabled()
            return View();