Please post the example code for the File Upload Async

1 Answer 287 Views
Upload
David
Top achievements
Rank 1
David asked on 20 Sep 2021, 08:33 PM

Hi,

When you go to the demo for the upload control, all you have is the index controller posted.  That does not contain the methods for the actual async uploads/ cancel.  ASP.NET Core Upload Key Features Demo | Telerik UI for ASP.NET Core  

Can you post these methods from the upload controller:

 


.Async(a => a
                    .Save("Chunk_Upload_Save", "Upload")
                    .Remove("Chunk_Upload_Remove", "Upload")
                    .AutoUpload(false)
                    .ChunkSize(11000)
                )

Thanks!

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Stoyan
Telerik team
answered on 23 Sep 2021, 12:30 PM

Hi David,

I am applying the ChunkUploadController.cs file that is used by the Upload Demo.

In addition please note that the Demo project can be installed with Telerik UI for ASP.NET Core when you use the Windows MSI installer package. If you opted to install the Demos they will be located in the Program Files\Progress\Telerik UI for ASP.NET Core<version> directory of your machine.

From there navigate to \wrappers\aspnetcore\Examples\AspNet.Core\VS2019\Kendo.Mvc.Examples\Controllers to access all the Controllers used in the Demo app.

I hope the information above is useful. Please let me know, if you have further questions.

Regards,
Stoyan
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
David
Top achievements
Rank 1
Answers by
Stoyan
Telerik team
Share this question
or