Hello,
It appears that the Upload control is not including the header: X-Requested-With when using it in Async mode. Omitting this header is a departure from the way the other controls behave in asnyc mode. It's inconsistent and leads developers to not be able to rely on features/behaviors of the supplied the controls.
Please consider adding this header as it will bring this control functionally in-line with the behavior of other controls running in async mode.
Thanks,
Mike
Hi Mike,
I would like to thank you for logging this request. We will monitor the community's interest in this feature and will consider it for future implementation.
Indeed, currently, the Upload is not including the X-Requested-With header when sending a request. This header is not needed in the most common scenarios and this is why it is not included by default and adding this header is currently left to the developer. I can suggest referring to the second example in the Upload documentation linked below, for details on customizing the request headers:
https://docs.telerik.com/kendo-ui/api/javascript/ui/upload/events/upload
Regards,
Aleksandar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.