This question is locked. New answers and comments are not allowed.
Hi,
I am using the Upload control to upload images and have used the following code in the cshtm file
I am using the Upload control to upload images and have used the following code in the cshtm file
@(Html.Telerik().Upload()
.Name(
"Uploader")
.Async(async => async
.Save(
"Save", "Category")
.Remove(
"Remove", "Category")
.AutoUpload(true)
)
)
And have used a action method with the follwoing sign in the controller
public ActionResult Save(IEnumerable<HttpPostedFileBase> Uploader)
The issue is that even after setting everything right I am unable to pass the control to the 'Save' action method when the file has been selected. It just immediately shows the image filename instead of uploading the file.
Please suggest some remedy to this issue.