Quantcast
Channel: ASPSnippets RSS Feed
Viewing all articles
Browse latest Browse all 4693

Enable or Disable TextBox from Controller in ASP.Net MVC

$
0
0
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable TextBox from Controller in ASP.Net MVC Razor. A Boolean value will be stored in a ViewBag object inside the Controller’s Action method and the value of the ViewBag object will be used to enable or disable the TextBox in View.

Viewing all articles
Browse latest Browse all 4693

Trending Articles