Results 16 - 20 of 458
27 Nov 2018 27 Nov 2018 0 Comments  1107 Views
Here Mudassar Ahmed Khan has explained with an example, how to make TextBoxes created using Html.TextBox and Html.TextBoxFor helper functions ReadOnly i.e. not editable in ASP.Net MVC Razor.

The TextBoxes can be made ReadOnly by setting the HTML ReadOnly attribute using the HtmlAttributes parameter in Html.TextBox and Html.TextBoxFor helper functions.
26 Nov 2018 26 Nov 2018 0 Comments  819 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Hidden Field value inside Controller in ASP.Net MVC Razor.

This article will illustrate how to set value of Hidden Field created using Html.Hidden helper function using ViewBag object in ASP.Net MVC Razor.
23 Nov 2018 23 Nov 2018 0 Comments  825 Views
Here Mudassar Ahmed Khan has explained with an example, how to read (get) values from FormCollection inside Controller in ASP.Net MVC Razor.

FormCollection 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  713 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using TempData in ASP.Net MVC Razor.

This article will illustrate how to use TempData to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
23 Nov 2018 23 Nov 2018 0 Comments  770 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) value to TextBox using ViewData in ASP.Net MVC Razor.

This article will illustrate how to use ViewData to set value in TextBox created using Html.TextBox helper function in ASP.Net MVC Razor.
Results 16 - 20 of 458