Under Review
Last Updated: 02 Nov 2026 08:35 by ADMIN
Albert
Created on: 28 Oct 2026 22:05
Category: SmartPasteButton
Type: Bug Report
0
Smart Paste Component is adding ALL controls on the page to the FormFields Json sent to the LLM, not just those with the SmartPasteDescription populated, or those that are manually added via the FormF

Smart Paste Component is adding ALL controls on the page to the FormFields Json sent to the LLM, not just those with the SmartPasteDescription populated.      This is causing the JSON to balloon as the user accesses more tabs on the page that have more controls.  

Eventually this causes the LLM to run out of context size and stop functioning.     

Please either fix this, or add a flag to disable auto discovery and allow us to just manually add the fields only.

 

To Recreate...   have a page with   a few telerik controls and  a rad tab strip.       Do a smart paste request.   
Next click on the other tabs with more fields.   Do another smart paste request.    Those new fields are also added. 

NONE of these fields have smart paste description  fields. 

1 comment
ADMIN
Vasko
Posted on: 02 Nov 2026 08:35

Hi Albert,

Thank you for the detailed reproduction steps. I would like to get a little more context on the scenario and configuration you are using, so I can investigate this behavior further.

The SmartPasteButton discovers generic input and select elements in addition to ASP.NET WebForms and Telerik controls. This is intentional in the current implementation because, in Kendo UI and other projects, the form element is typically scoped to the fields involved in a particular request, so discovering the inputs within that form is useful.

With ASP.NET WebForms, however, the entire application lives inside a single form element. As a result, the SmartPasteButton can potentially discover all inputs within the page, including controls that don't have SmartPasteDescription configured. This could explain why fields from subsequently accessed tabs are being included in the FormFields JSON and causing it to grow over time.

While I investigate the behavior, you can use the explicit field configuration to override the default discovery behavior and specify only the fields you want SmartPasteButton to process - Explicit Field Configuration

Could you also provide the following details from your scenario:

  • What types of form elements are being picked up by SmartPasteButton? (generic HTML elements, ASP.NET controls, Telerik controls, or a combination)?

  • Do the elements being picked up have title, aria-label, or similar attributes set?

  • How is the SmartPasteButton configured on the page? If possible, please provide the relevant markup/configuration.

This information will help us determine exactly which discovery mechanism is picking up these fields and whether the behavior can be improved.

I am looking forward to your reply.

Regards,
Vasko
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!