Mark Devid
Total Post:102
Points:714I want to upload file in asp.net-mvc. How can I upload
the file using html input file control?
Total Post:102
Points:714I want to upload file in asp.net-mvc. How can I upload
the file using html input file control?
© Copyright © 2010 - 2018 MindStick Software Pvt. Ltd. All Rights Reserved
Post:88
Points:616Re: How to File Upload ASP.NET MVC 3
You don't use a file input control. Server side controls are not used in ASP.NET MVC. Checkout thefollowing blog post which illustrates how to achieve this in ASP.NET MVC.
So you would start by creating an HTML form which would contain a file input:
and then you would have a controller to handle the upload: