Results 1 - 5 of 48
17 Aug 2018 17 Aug 2018 0 Comments  689 Views
Here Mudassar Ahmed Khan has explained with an example, how to make CheckBox ReadOnly in ASP.Net MVC Razor.

By default, CheckBox cannot be made ReadOnly and hence using JavaScript it is made Non-Clickable.
26 Jul 2018 26 Jul 2018 0 Comments  729 Views
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.
26 Jul 2018 26 Jul 2018 0 Comments  693 Views
Here Mudassar Ahmed Khan has explained with an example, how to Bulk delete multiple selected (checked) Rows from WebGrid using CheckBoxes in ASP.Net MVC Razor.

The first column of WebGrid will contain the CheckBoxes and multiple CheckBoxes can be checked (selected) to delete multiple Rows from WebGrid in ASP.Net MVC Razor.

The selected (checked) WebGrid Rows will be deleted after User selected OK from the Delete Confirmation Box displayed using JavaScript in ASP.Net MVC Razor.
23 Jul 2018 23 Jul 2018 0 Comments  617 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) CheckBoxList (List of CheckBoxes) in ASP.Net MVC Razor.

ASP.Net MVC does not have an in-built CheckBoxList control and hence using the SelectListItem class as Model, a Custom CheckBoxList has been populated from database in ASP.Net MVC 5 Razor.
26 Apr 2018 26 Apr 2018 0 Comments  1881 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBoxes of TreeView on Button click in ASP.Net using C# and VB.Net.

When the Button is clicked, all the selected (checked) CheckBoxes are fetched and displayed using JavaScript Alert Message Box.
Results 1 - 5 of 48