How to set disabled state in ASP.NET CORE Toggle Switch Button
21 Aug 20261 minute to read
Switch can be disabled by setting the disabled property to true.
The following example illustrates how to disable support in Switch component.
<ejs-switch id="default" disabled="true"></ejs-switch>public ActionResult Default()
{
return View();
}