Possible to block the user interface while user uploads file?

1 Answer 35 Views
Upload
James
Top achievements
Rank 1
James asked on 06 Dec 2024, 04:11 PM

Hi,

I have a multi-step process form which has the Upload component on some screens. I've found that users don't wait for files to finish uploading and hit proceed to move to the next screen. Is there a way to block the user interface easily while a file is being uploaded, to prevent this from happening?  

Many thanks.

1 Answer, 1 is accepted

Sort by
0
Yanko
Telerik team
answered on 10 Dec 2024, 02:02 PM

Hi, James,

Yes, you can achieve this by utilizing the `onAdd` property of the Upload component and disabling the required button through CSS. Then you can enable the button again through `onStatusChange` or `onProgress` with an additional check for the current status.

Please let me know if you require further help with implementing the required functionality.

Regards,
Yanko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Upload
Asked by
James
Top achievements
Rank 1
Answers by
Yanko
Telerik team
Share this question
or