Results 1 - 5 of 1958
06 Dec 2018 06 Dec 2018 0 Comments  231 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.
06 Dec 2018 06 Dec 2018 0 Comments  217 Views
Here Mudassar Ahmed Khan has explained with an example, how to make CheckBox ReadOnly in ASP.Net with C# and VB.Net.

By default, ASP.Net CheckBox cannot be made ReadOnly and hence using JavaScript it is made Non-Clickable.
04 Dec 2018 04 Dec 2018 0 Comments  293 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  227 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.
Results 1 - 5 of 1958