This question is locked. New answers and comments are not allowed.
I have a FileUpload control on my "add" view:
Currently i save uploaded files into a temp location and on click of the "Save" button, commit them to the database.
After saving the files, the page is now automatically in "EDIT" mode. so, the user should be able to delete/add or replace already uploaded files. Is there a way to do this? Can i bind the upload control to my database list?
Any alternative ideas?
Thanks,
Nij
<%= Html.Telerik().Upload()
.Name("attachments")
.Multiple(Model.IsMultiple)
.ShowFileList(Model.ShowList)
.Async(async => async
.Save("UploadAttachments", 'CommonController')
.Remove("RemoveAttachments", "CommonController")
.AutoUpload(Model.FileUploadDocument.ShowList)
)
.ClientEvents(c => c.OnSuccess("onFileUploadSuccessCallback"))
%>
Currently i save uploaded files into a temp location and on click of the "Save" button, commit them to the database.
After saving the files, the page is now automatically in "EDIT" mode. so, the user should be able to delete/add or replace already uploaded files. Is there a way to do this? Can i bind the upload control to my database list?
Any alternative ideas?
Thanks,
Nij