Category - CheckBox
Results 41 - 45 of 95
21 Sep 2018 21 Sep 2018 0 Comments  4075 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the checked Nodes of ASP.Net TreeView with Text and Value using JavaScript.

When the Button is clicked, all the CheckBoxes of the ASP.Net TreeView control are referenced using JavaScript and the Text and Value parts of the checked Nodes are displayed using JavaScript Alert Message Box.
17 Aug 2018 17 Aug 2018 1 Comments  5223 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  16036 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  4550 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  12874 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.
Results 41 - 45 of 95