Search results

Disable ColorPicker in ASP.NET Core ColorPicker control

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.

<div class='wrap'>
    <h4>Disabled state</h4>
    <ejs-colorpicker id="element" disabled="true"></ejs-colorpicker>

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