Results 1 - 5 of 9
01 Apr 2019 01 Apr 2019 0 Comments  537 Views
ASP.Net  MVC  Form  Label
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Label value from View to Controller in ASP.Net MVC Razor.

Label value cannot be sent to Controller directly and hence when the Submit Button is clicked and the Form is submitted, the Label value needs to be copied to a Hidden Field and then the value of the Label is extracted from the Hidden Field inside the Controller using Form Collection in ASP.Net MVC Razor.
01 Mar 2019 01 Mar 2019 0 Comments  969 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) other Form Data along with File Upload in ASP.Net MVC Razor.

This article will illustrate how to POST (Submit) a Form with some TextBox fields and an HTML FileUpload element using Html.BeginForm helper function in ASP.Net MVC Razor.
27 Nov 2018 27 Nov 2018 0 Comments  3253 Views
ASP.Net  MVC  Form  Model
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Model to Controller using Html.BeginForm helper function in ASP.Net MVC Razor.

This article will explain how to create Form Fields using Model class and then pass (send) Model data to Controller using Html.BeginForm helper function in ASP.Net MVC Razor.
27 Nov 2018 27 Nov 2018 1 Comments  1470 Views
ASP.Net  MVC  Form  Model
Here Mudassar Ahmed Khan has explained with an example, how to POST (Submit) a Form without using Model in ASP.Net MVC Razor.

This article will illustrate how to POST (Submit) a Form using Html.BeginForm helper function and Form Collection in ASP.Net MVC Razor.
14 Nov 2018 14 Nov 2018 0 Comments  2073 Views
ASP.Net  MVC  Form
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) data from one View to another in ASP.Net MVC Razor.

The data from the Source View will be posted (submitted) using Form Post to the Controller’s Action method of the Destination View.

Then finally, the received data will be displayed in the Destination View using ViewBag.
Results 1 - 5 of 9