This is a migrated thread and some comments may be shown as answers.

Kendo Angular Upload

2 Answers 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sathya
Top achievements
Rank 1
Sathya asked on 23 Jan 2019, 07:27 PM

What could be the possible reasons for the files not getting posted to the Controller? I could see the Files collection on the Client.

I tried the following options

  • Used an MVC controller  with the [saveUrl] property with the input parameters(List<IFormFile> files) and the files are coming empty?
  • Used an API controller with a manual upload(passed in the API URL) with the same input parameters(List<IFormFile> files) and the files are coming empty?
  • Added EnableCors and made the changes in the startup.cs file.

Could you please suggest or guide me?

 

Thank you,

Sathya

 

2 Answers, 1 is accepted

Sort by
0
Sathya
Top achievements
Rank 1
answered on 25 Jan 2019, 12:36 AM
I figured out the problem.thanks
Yaniv
Top achievements
Rank 1
commented on 15 Jan 2023, 01:07 PM

Hi

having the same problem

can you share your solution?

thanks

0
Dimiter Topalov
Telerik team
answered on 25 Jan 2019, 09:52 AM
Hi Sathya,

Good job on resolving the issue.

Can you please consider sharing your solution/approach here, so that other members of the community that may stumble upon the same problem, and find this forum thread, benefit too?

Thank you in advance.

Regards,
Dimiter Topalov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Sathya
Top achievements
Rank 1
Answers by
Sathya
Top achievements
Rank 1
Dimiter Topalov
Telerik team
Share this question
or