New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Disabled Button

The business logic of an application often requires a certain button to be temporarily disabled or enabled.

You can initially configure the Button as disabled either through its .Enable() setting. The Button can also be disabled or enabled at any time with JavaScript by using its enable() method with a Boolean argument.

The following example demonstrates how to enable and disable the Button.

            .Content("Disabled button"))

Referencing Existing Instances

To reference an existing Button instance, use the configuration option. Once a reference is established, use the Button client-side API.

See Also

In this article
Not finding the help you need? Improve this article