# Disabled PromptBox

The PromptBox provides built-in support for disabling both the entire component and individual buttons.

To disable the PromptBox component, set the `Enable` option to `false`. This prevents user interaction with the input area and all built-in tools.

You can also disable each tool independently while keeping the rest of the PromptBox functional. To achieve this, set the `Enable` option of the respective button settings object.

```Razor HtmlHelper
    @(Html.Kendo().PromptBox()
        .Name("promptBox")
        .Enable(false)
    )
```

## Disabling Individual Buttons

To disable a specific button, use the `Enabled` option within the button configuration.

```Razor HtmlHelper
    @(Html.Kendo().PromptBox()
        .Name("promptBox")
        .FileAttachment(fs => fs
            .Enabled(false)
        )
    )
```

## See Also

* [Server-Side API of the PromptBox HtmlHelper](https://www.telerik.com/aspnet-mvc/documentation/api/promptbox)

* [JavaScript API Reference of the PromptBox](https://www.telerik.com/aspnet-mvc/documentation/api/ui/promptbox)

* [PromptBox Appearance](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/conversational-ui/promptbox/appearance)
