Results 1 - 5 of 451
06 Dec 2018 06 Dec 2018 0 Comments  230 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable TextBox based on condition in ASP.Net MVC Razor.

A Boolean value will be stored in a ViewBag object based on some condition inside the Controller’s Action method and the value of the ViewBag object will be used to enable or disable the TextBox in View.
04 Dec 2018 04 Dec 2018 0 Comments  292 Views
Here Mudassar Ahmed Khan has explained with an example, how to set Label value inside Controller in ASP.Net MVC Razor.

This article will illustrate how to set value of Label in ViewBag object inside Controller and later use the ViewBag object to set value in Label inside View in ASP.Net MVC Razor.
04 Dec 2018 04 Dec 2018 0 Comments  226 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign (set) ViewBag value in Label in ASP.Net MVC Razor.

This article will illustrate how to use ViewBag to set value in Label created using Html.Label helper function in ASP.Net MVC Razor.
03 Dec 2018 03 Dec 2018 0 Comments  297 Views
Here Mudassar Ahmed Khan has explained with an example, how to set value of Hidden Fields created using Html.Hidden and Html.HiddenFor helper functions using jQuery in ASP.Net MVC Razor.

This article will also illustrate how to get values of Hidden Fields created using Html.Hidden and Html.HiddenFor helper functions and set using jQuery in View inside Controller in ASP.Net MVC Razor.
30 Nov 2018 30 Nov 2018 0 Comments  346 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) Object from View to Controller in ASP.Net MVC Razor.

This article will explain how to create Form Fields using Model class and then pass (send) Model object from View to Controller using Html.BeginForm helper function in ASP.Net MVC Razor.
Results 1 - 5 of 451