Generally, you can bind the data for text type inputs and get the values using instance. In the case of file type inputs, the value from form instance is always null, which can be retrieved in input element event handler using $event.target.files. Because, the is used to update the value of bounded element into $event.target.value.
Use the event handler in your application to process the file type inputs. Here, the change event is bounded to the input element, in which you can get the file details in event arguments ($event.target.files).
Send data using HTTP to server
MVC server application
1. Create a MVC Project in Visual Studio.
2. Define the UserModel in HomeController.cs which is equivalent to form data values. Refer to the following code snippet for controller.
While submitting the form, you can get the form data in controller like the following image.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.