Category - CheckBox
Results 41 - 60 of 113
27 Dec 2018 27 Dec 2018 1 Comments  27927 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement CheckChanged event of CheckBox inside GridView in ASP.Net using C# and VB.Net.

When a CheckBox is checked or unchecked, a loop will be executed over the GridView rows and all the rows whose CheckBox is checked will be marked as selected and will be copied to another GridView.

The data from the selected GridView Cells or controls like Label, TextBox, DropDownList, etc. will be fetched and copied to the other GridView.
26 Dec 2018 26 Dec 2018 1 Comments  49043 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Checked event for CheckBox in Windows Forms DataGridView using C# and VB.Net.

By default, there is no checked event for CheckBox in Windows Forms DataGridView and thus, the same is accomplished by making use of the DataGridView CellContentClick event handler using C# and VB.Net.
24 Dec 2018 26 Dec 2018 0 Comments  23373 Views
Here Mudassar Ahmed Khan has explained with an example, how to select (check) one (single) CheckBox in Windows Forms DataGridView using C# and VB.Net.

By default, multiple CheckBoxes in DataGridView are meant for multiple selection, thus in order to make it work as single selection i.e. only one (single) CheckBox can be selected at a time, when one CheckBox is checked, all the other CheckBoxes must be unchecked.
21 Dec 2018 21 Dec 2018 1 Comments  10175 Views
Here Mudassar Ahmed Khan has explained with an example, how to select (check) one (single) CheckBox in ASP.Net GridView using jQuery.

By default, multiple CheckBoxes in GridView are meant for multiple selection, thus in order to make it work as single selection i.e. only one (single) CheckBox can be selected at a time, jQuery needs to be used to achieve the same.
21 Dec 2018 21 Dec 2018 0 Comments  6536 Views
Here Mudassar Ahmed Khan has explained with an example, how to select (check) one (single) CheckBox in ASP.Net GridView using JavaScript.

By default, multiple CheckBoxes in GridView are meant for multiple selection, thus in order to make it work as single selection i.e. only one (single) CheckBox can be selected at a time, JavaScript needs to be used to achieve the same.
21 Dec 2018 21 Dec 2018 0 Comments  22389 Views
Here Mudassar Ahmed Khan has explained with an example, how to allow only One (Single) CheckBox to be checked (selected) using AngularJS.

In a group of CheckBoxes, if one CheckBox is checked (selected) all other selected CheckBoxes will be unchecked (unselected) using AngularJS.
20 Dec 2018 21 Dec 2018 0 Comments  12069 Views
Here Mudassar Ahmed Khan has explained with an example, how to select one (single) CheckBox from multiple CheckBoxes using jQuery.

By default, multiple CheckBoxes are meant for multiple selection, thus in order to make it work as Single selection i.e. similar to that of a RadioButtons, jQuery needs to be used to achieve the same.
19 Dec 2018 19 Dec 2018 0 Comments  26118 Views
Here Mudassar Ahmed Khan has explained with an example, how to select one (single) CheckBox from multiple CheckBoxes in JavaScript.

By default, multiple CheckBoxes are meant for multiple selection, thus in order to make it work as Single selection i.e. similar to that of a RadioButtons, JavaScript needs to be used to achieve the same.
18 Dec 2018 18 Dec 2018 0 Comments  8475 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete (remove) multiple ng-repeat items using CheckBox in AngularJS.

The HTML Table with multiple CheckBoxes will be populated using ng-repeat directive and the selected (checked) Rows (Items) will be deleted from HTML Table on Single Button click using AngularJS.
18 Dec 2018 18 Dec 2018 0 Comments  11524 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete multiple Rows (Items) from HTML Table using CheckBoxes in AngularJS.

The HTML Table with multiple CheckBoxes will be populated using ng-repeat directive and the selected (checked) Rows (Items) will be deleted from HTML Table using AngularJS.
14 Dec 2018 14 Dec 2018 0 Comments  5272 Views
Here Mudassar Ahmed Khan has explained with an example, how to select single CheckBox between multiple CheckBoxes using AngularJS.

Single selection functionality amongst CheckBoxes is also known as Mutually Exclusive CheckBoxes as at a time only one CheckBox can be checked while the other checked CheckBox will be automatically unchecked.
13 Dec 2018 18 Dec 2018 1 Comments  35304 Views
Here Mudassar Ahmed Khan has explained with an example, how to select Single (Only One) CheckBox from CheckBoxList in ASP.Net.

By default, CheckBoxList has multiple CheckBoxes and CheckBoxes are meant for multiple selection, thus in order to make it work as Single selection i.e. similar to that of a RadioButtonList, JavaScript needs to be used to achieve the same.
06 Dec 2018 07 Dec 2018 2 Comments  14452 Views
Here Mudassar Ahmed Khan has explained how to use ng-show directive with condition (IF ELSE) in AngularJS.

This article will illustrate how to show or hide HTML DIV on CheckBox click using ng-show directive by conditionally setting it using a Boolean variable inside Controller.
06 Dec 2018 06 Dec 2018 0 Comments  7525 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.
21 Sep 2018 21 Sep 2018 0 Comments  23461 Views
Here Mudassar Ahmed Khan has explained with an example, how to create dynamic TreeView from database in ASP.Net MVC Razor.

The dynamic TreeView will be created using the jQuery jsTree plugin and the data for the TreeView will be fetched from database using Entity Framework in ASP.Net MVC Razor.
21 Sep 2018 21 Sep 2018 0 Comments  10428 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  13697 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  38103 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 1 Comments  9137 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  36306 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 - 60 of 113