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

using upload file control to upload file from an area in .net core

1 Answer 149 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Lăng
Top achievements
Rank 1
Lăng asked on 02 Jun 2018, 11:04 AM
Hello everyone, now i'm going to create an website using .net core and kendo UI, but now i'n don'n know how to upload file from an area. i trying to upload but just get 404 message when upload file.

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 06 Jun 2018, 12:21 PM
Hello,

From the screenshot attached I see that the Event controller which contains the Save action is in the Admin area. If this controller contains the Save action you are trying to call give the following configuration a try, it works as expected at my end:
.Async(a => a
    .Save("Save", "Event", new { area = "admin" } )



Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Upload
Asked by
Lăng
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or