|117129||Aug 19,2014 06:19 AM UTC||Aug 19,2014 12:10 PM UTC||ASP.NET MVC (Classic)||2|
We would like to let you know that the reported issue has occurs due to wrong extension type given in the controller page. It should be ‘.txt’ for text documents and save function will not be executed, in case of wrong extension type.
Function FileUpload() As ActionResult
Dim myModel As New UploadBoxModel
myModel.AutoUpload = True
myModel.AllowMultipleFiles = True
myModel.ExtensionsAllow = "txt"
ViewData("upload") = myModel
Please refer the attached sample for your reference.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.