This video is using an old version of the RadUpload
control and this is why you might have to reconsider some of its logic. With the last version of the control one upload request (i.e. one chunk) can contain multiple files and this means that there were some changes introduced in the RadUploadHandler
implementation. More info you can find here
. Basically now instead of using this syntax - this.Request.Form[key];
to get the name of the file it is recommended to get it through the GetFileName()
method of the RadUploadHandler
Also with the latest version of the RadUpload
control it is better to modify the UploadHandler
by overriding the SaveChunkDate()
method instead of the ProcessStream()
method, thus writing the following UploadHandler
.SaveChunkData(filePath, position, buffer, contentLength,
FileStream fStream =
Please make the above modifications and test your code again as they can help.
Also, it is important to check if the SharePoint
user has the proper rights for creating files under the Scratcharea folder as if the user can't access the folder, then the RadUpload
control won't be able to access it as well and the uploaded files won't be saved thus causing the "Cannot save the file" error message.
I hope this information will help you.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>