New to Telerik UI for ASP.NET MVCStart a free 30-day trial

ASP.NET MVC PromptBox Overview

Updated on Feb 11, 2026

The Telerik UI for ASP.NET MVC PromptBox component provides an input interface that enables users to interact with AI language models through a rich text input experience.

The PromptBox serves as a dedicated input area for composing and sending prompts to AI models. It offers flexible input sizing options to accommodate different prompt lengths and user preferences. The component supports file attachments and adornments, making it a versatile solution for building AI-powered conversational interfaces.

Initializing the PromptBox

The following example demonstrates how to define a PromptBox.

Razor
    @(Html.Kendo().PromptBox()
        .Name("promptBox")
        .Placeholder("Enter your prompt...")
    )

Functionality and Features

  • Modes—The PromptBox supports different interaction modes to suit various use cases and user preferences.
  • Appearance—Customize the appearance of the built-in buttons with predefined options for size, border radius, fill modes, and theme colors.
  • Adornments—Customize the PromptBox with icons, buttons, and other UI elements for enhanced functionality.
  • Tools—Utilize the available tools like Action Button, File Select Button, and Speech-to-Text Button.
  • Events—Handle user interactions through events like prompt submission, attachment uploads, and content changes.
  • Keyboard Navigation—Navigate and interact efficiently using keyboard shortcuts for message composition and actions.
  • Accessibility—Full accessibility support with WAI-ARIA attributes, ensuring WCAG 2.2 AA and Section 508 compliance.

Next Steps

See Also