'Handle File Upload type based on button click in Controller - MVC 5
Is there any way to handle uploading file type based on button clicked in MVC 5 Controller. Currently what is happening is all buttons redirect to same page. Although it can be handled on redirection to different pages or form can be handled using jQuery but what I want is just to upload audios / videos on clicking on Audio / Video Button. Can anyone please guide. Images are attached.
currently what I am looking into is to either create separate views / action methods for each form.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|