Category - CheckBox
Results 1 - 20 of 105
07 Apr 2021 07 Apr 2021 0 Comments  8416 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement CheckBoxes (CheckBoxList) in ASP.Net Core Razor Pages.

Group of multiple CheckBoxes (CheckBoxList) will be populated from SQL Server Database by looping through the Model.

The CheckBoxes are grouped by specifying common name for all CheckBoxes, this helps fetching their values as a collection in the Request header.
31 Mar 2021 31 Mar 2021 0 Comments  5446 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) multiple CheckBox values from View to Controller in ASP.Net Core MVC.

The CheckBoxes will be populated from SQL Server database and when the Form is submitted, the values of all the CheckBoxes (Checked and Unchecked) will be sent to the Controller in ASP.Net Core MVC.
30 Mar 2021 30 Mar 2021 0 Comments  3329 Views
Here Mudassar Ahmed Khan has explained an example, how to display multiple CheckBoxes with Checked Unchecked values in ASP.Net MVC Razor.

The CheckBoxes along with their checked or unchecked (selected) values will be populated from SQL Server database using Entity Framework in ASP.Net MVC Razor.
14 Mar 2021 14 Mar 2021 0 Comments  8000 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind CheckBox (multiple CheckBoxes) using Model in ASP.Net Core MVC.

The generic list collection of Model class will be populated from Database inside Controller and then it will be used to populate the list of multiple CheckBoxes inside View in ASP.Net Core MVC.
14 Mar 2021 14 Mar 2021 0 Comments  3662 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind CheckBox (multiple CheckBoxes) using Model in ASP.Net MVC Razor.

The Database data will be populated in generic list collection of Model class and then the Model will be sent to the View where it will be bound to the CheckBox in ASP.Net MVC Razor.
09 Mar 2021 09 Mar 2021 0 Comments  12428 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement CheckBoxList (List of CheckBoxes) in ASP.Net Core MVC.

The records from the Database will be fetched from Database Table using ADO.Net into SelectListItem class as Model and a Custom CheckBoxList has been populated in ASP.Net Core MVC.
20 Mar 2020 20 Mar 2020 0 Comments  16891 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Remember Me CheckBox functionality i.e. Remember the UserName and Password for the user when he visits next time using Cookies in ASP.Net MVC Razor.

This User Login form and Remember Me CheckBox functionality will be implemented using Custom Forms Authentication and Entity Framework.
05 Mar 2020 05 Mar 2020 0 Comments  11075 Views
Here Mudassar Ahmed Khan has explained with an example, how to enable or disable Button when CheckBox is checked or unchecked in AngularJS.

This article will illustrate how to enable or disable Button on CheckBox click i.e. checked – unchecked or selected – unselected using ng-disabled directive in AngularJS.
01 Nov 2019 01 Nov 2019 0 Comments  10407 Views
Here Mudassar Ahmed Khan has explained with an example, how to check uncheck all (select unselect all) CheckBoxes in CheckedListBox in Windows Forms (WinForms) Application using C# and VB.Net.

The check uncheck all functionality will be done using an additional CheckBox that will act as Check All CheckBox for the CheckedListBox in Windows Forms (WinForms) Application using C# and VB.Net.
30 Oct 2019 30 Oct 2019 0 Comments  20066 Views
Here Mudassar Ahmed Khan has explained with an example, how to check uncheck all (select unselect all) CheckBoxes in ASP.Net CheckBoxList using C# and VB.Net.

The check uncheck all functionality will be done using an additional CheckBox that will act as Check All CheckBox for the ASP.Net CheckBoxList control.
04 Jul 2019 04 Jul 2019 0 Comments  23748 Views
Here Mudassar Ahmed Khan has explained with an example, how to check whether CheckBox in GridView is checked or not in ASP.Net using C# and VB.Net.

When the Button is clicked, a loop will be executed over GridView Rows and then it will be determined whether the CheckBox inside the GridView Row is checked or not in ASP.Net.
04 Jul 2019 04 Jul 2019 0 Comments  7291 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement at-least one CheckBox required validation in AngularJS.

When the Submit Button is clicked, the Model for each CheckBox in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is required to be checked from the Group of CheckBoxes using AngularJS.
26 Jun 2019 26 Jun 2019 0 Comments  4422 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using AngularJS.

When the Submit Button is clicked, the Model for each CheckBox in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using AngularJS.
25 Jun 2019 25 Jun 2019 0 Comments  13152 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using jQuery.

When the Submit Button is clicked, all the CheckBoxes in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using jQuery.
25 Jun 2019 25 Jun 2019 0 Comments  2467 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate Group of CheckBoxes (Multiple CheckBoxes) using JavaScript.

When the Submit Button is clicked, all the CheckBoxes in the Group will be referenced and using FOR loop, it will be validated that at-least one CheckBox is checked from the Group of CheckBoxes using JavaScript.
06 Jun 2019 06 Jun 2019 0 Comments  24412 Views
Here Mudassar Ahmed Khan has explained with an example, how to bulk delete multiple selected (checked) Rows using CheckBox in ASP.Net MVC Razor.

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

The selected (checked) Rows (Records) will be deleted after User selected OK from the Delete Confirmation Box displayed using JavaScript in ASP.Net MVC Razor.
21 Feb 2019 21 Feb 2019 0 Comments  12385 Views
Here Mudassar Ahmed Khan has explained with an example, how to show an element using ng-show directive when the Variable (Model) is not NULL and if the Variable (Model) is NULL or empty then the element must be hidden using AngularJS.

The AngularJS ng-show directive will be assigned a condition where the Variable (Model) will be tested for NULL and if the Variable (Model) is not NULL, the condition will return True, thus the element will be shown else vice-versa.
13 Feb 2019 13 Feb 2019 0 Comments  11048 Views
Here Mudassar Ahmed Khan has explained with an example, how to get RowIndex when CheckBox in GridView Row is Checked (Clicked) using JavaScript.

All the CheckBox inside the GridView will be assigned a Click event handler using JavaScript.

When the CheckBox inside the GridView Row is Checked (Clicked), the GridView Row will be referenced and then the RowIndex and the Row (Cell) values will be extracted and displayed using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  16142 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values as Comma Separated String using jQuery.

When the Get Button is clicked, the CheckBoxes will be referenced and if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed as Comma Separated String using JavaScript Alert Message Box.
11 Jan 2019 11 Jan 2019 0 Comments  9880 Views
Here Mudassar Ahmed Khan has explained with an example, how to get multiple selected (checked) CheckBox values as Comma Separated String using JavaScript.

When the Get Button is clicked, the CheckBoxes will be referenced using a loop. Inside the loop if the CheckBox is selected (checked) then its value will be inserted into an Array.

Finally, the values of the selected (checked) CheckBoxes inside the Array will be displayed as Comma Separated String using JavaScript Alert Message Box.
Results 1 - 20 of 105