Results 21 - 25 of 458
23 Nov 2018 23 Nov 2018 0 Comments  623 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using ViewBag in ASP.Net MVC Razor.

This article will illustrate how to use ViewBag to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
23 Nov 2018 23 Nov 2018 0 Comments  819 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from Controller to View using Form Collection in ASP.Net MVC Razor.

This article will also illustrate how to get values of TextBox created using Html.TextBox helper function and the HTML INPUT TextBox element using Form Collection inside Controller in ASP.Net MVC Razor.

Form Collection is a Key-Value pair collection and the value of each submitted Form field can be accessed using its Name attribute value.
23 Nov 2018 23 Nov 2018 0 Comments  665 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Form Collection and Model values same time to Controller in ASP.Net MVC Razor.

This article will also illustrate how to get values of TextBox created using Html.TextBox helper function using Form Collection and the TextBox created using Html.TextBoxFor helper function using Model inside Controller in ASP.Net MVC Razor.
22 Nov 2018 22 Nov 2018 0 Comments  738 Views
MVC
Here Mudassar Ahmed Khan has explained with an example, how to read values of Hidden Field created using Html.Hidden and Html.HiddenFor helper functions in Controller in ASP.Net MVC Razor.

The value of the Hidden Field created using Html.HiddenFor helper function is read using Model class object while the value of Hidden Field created using Html.Hidden helper function is read using Request.Form collection in ASP.Net MVC Razor.
22 Nov 2018 22 Nov 2018 0 Comments  1048 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Hidden Field value from View to Controller in ASP.Net MVC Razor.

This article will illustrate how to pass (send) values of Hidden Field created using Html.HiddenFor and Html.Hidden helper functions in ASP.Net MVC Razor.
Results 21 - 25 of 458