New to Kendo UI for AngularStart a free 30-day trial

SmartPasteButton Events

Updated on Feb 6, 2026

The SmartPasteButton provides events to handle the AI request lifecycle, allowing you to show loading states, process responses, and handle errors.

Available Events

The component exposes three lifecycle events that allow you to handle the AI request process:

  • requestStart—Fires before sending the AI request. The event is preventable.
  • requestEnd—Fires when the AI request completes, either successfully or with an error. The event is preventable.
  • requestCancel—Fires when an ongoing Smart Paste request is cancelled by the user.

The following example demonstrates event handling for the SmartPasteButton. The demo displays each event and its arguments in the event log panel on the right side.

Change Theme
Theme
Loading ...

Use SmartPasteButton events to:

  • Show loading indicators during AI processing.
  • Log request and response data for debugging.
  • Handle errors and display user-friendly messages.
  • Prevent field population based on custom validation.
  • Track analytics for AI feature usage.
In this article
Available EventsSuggested Links
Not finding the help you need?
Contact Support