New to KendoReact? Start a free 30-day trial
SmartPasteButton Events
SmartPasteButton EventsPremium
Updated on Nov 6, 2026
The KendoReact SmartPasteButton emits an event which enables you to integrate with your AI service upon user interaction.
Available Events
The onClick event is the primary event for the SmartPasteButton. It fires when the user activates the button and provides access to clipboard content and form field metadata through the requestData property. Use this event to send data to your AI service and populate the form with the AI-generated results using the setResponse function.
The following demo lets you copy sample contact data, invoke onClick, inspect the request and response, and populate the form with setResponse.
Loading ...
Use the SmartPasteButton event to:
- Send clipboard content and form field metadata to your AI service.
- Show loading indicators during AI processing.
- Log request and response data for debugging.
- Handle errors and display user-friendly messages.
- Populate the form with the AI-generated results.