How to get html tag id when uploading multiple files?

Prentiss

New Member
I have this form on my view:
Xgl31.png
On my controller I have the following method:\[code\] [HttpPost] public ActionResult UploadFile(HttpPostedFileBase file){// ...}\[/code\]How can I receive the id of the input tag that was clicked to upload the file? (id=1 or id= 2?Thank you!!!
 
Back
Top