entity framework - Retain Dropdown value after fileupload in MVC 5 -


I am creating a file upload project in MVC I have dropdown and file-upload control. I use file upload control via partial view whenever I try to upload the file, so I lost the selected value of my dropdown. {@class = "form-control"})

Partial view

  & lt; Input type = "file" name = "file_upploader" class = "form-control unaccessible-input" /> & Lt; Input type = "submit" id = "btn_upload" value = "upload css / js" class = "btn btn-default" />  


Comments