Search results

Set the disabled state

Button component can be enabled/disabled by giving disabled property. To disable Button component, the disabled property can be set as true.

The following example demonstrates Button in disabled state.

tagHelper
disabledbutton.cs
<ejs-button id="disabled" disabled="true" content="Disabled"></ejs-button>
public ActionResult DisabledButton()
{
    return View();
}