Avatar of dodgerfan
Flag for United States of America

asked on 

ASP.Net MVC input file control event after file selection

I have an ASP.Net MVC application. One of my views has a input file control that users use to select a file to upload to a database. After the user selects a file but BEFORE they click the upload button, I'd like to run some code from the controller on the file. Is there a way to do this? It's a simple input control: <input type="file" name="postedfile" /> Any help is appreciated.

Avatar of undefined
Last Comment
Miguel Oz

8/22/2022 - Mon