Cloud Upload dect if upload completed to update my database object

1 Answer 27 Views
CloudUpload
Rodenberg
Top achievements
Rank 1
Rodenberg asked on 18 Jul 2023, 08:00 AM

Hello,

how to dectect if upload is completed?
for me i will use the cloud upload control in diffenent windows to update diffenet objects. 

actually i found no way to find out if the upload control upload ist completed?

kind regards

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 18 Jul 2023, 12:41 PM

Hello Philip,

To achieve your requirement, you can use the ItemStateChanged event of RadCloudUpload.

private void CloudUpload_ItemStateChanged(object sender, Telerik.Windows.Cloud.Controls.Upload.CloudUploadFileStateChangedEventArgs e)
{
	if (e.NewState == Telerik.Windows.Cloud.Controls.Upload.CloudUploadFileState.Uploaded)
	{
		CloudUploadFile file = e.Item;
	}
}

I hope that helps.

Regards,
Martin Ivanov
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
CloudUpload
Asked by
Rodenberg
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or