Category - CheckBox
Results 101 - 114 of 114
12 May 2015 12 May 2015 1 Comments  93451 Views
Here Mudassar Ahmed Khan has explained how to check whether a CheckBox is checked or unchecked using AngularJS.
The status of the CheckBox i.e. checked or unchecked will be determined on Button click inside the AngularJS Controller.
11 May 2015 11 May 2015 0 Comments  35262 Views
Here Mudassar Ahmed Khan has explained how to uncheck a CheckBox when another CheckBox inside CheckBoxList control is checked in ASP.Net using JavaScript.
07 May 2015 07 May 2015 1 Comments  178176 Views
Here Mudassar Ahmed Khan has explained how to show and hide HTML DIV with TextBox when CheckBox is checked (selected) and unchecked (unselected) using JavaScript and jQuery.
When the CheckBox is clicked based on whether it is checked (selected) or unchecked (unselected), the HTML DIV with TextBox will be shown or hidden.
03 Mar 2015 28 Dec 2018 1 Comments  74808 Views
Here Mudassar Ahmed Khan has explained with an example, how to get Text and Value of selected (checked) CheckBoxes from CheckBoxList control using jQuery in ASP.Net.

CheckBoxList control is rendered as HTML Table with CheckBoxes and Label elements and hence to get the Text and Value of selected (checked) CheckBoxes of the CheckBoxList control, each CheckBox and its corresponding Label needs to be referenced using jQuery.
03 Feb 2015 03 Feb 2015 4 Comments  104272 Views
Here Mudassar Ahmed Khan has explained a Custom ASP.Net Server control DropDownCheckBoxes which is a Multiple Selection DropDownList consisting of a CheckBoxList control within it.

This control is a pure Server side control which combines all the events and properties of an ASP.Net DropDownList and CheckBoxList and it also includes its own RequiredFieldValidator that performs validation as the ASP.Net RequiredFieldValidator.
29 Jan 2015 29 Jan 2015 0 Comments  87399 Views
Here Mudassar Ahmed Khan has explained how to save (insert) CheckBox value to SQL Server database in ASP.Net using C# and VB.Net.

The value will be saved to SQL Server database depending on whether CheckBox is checked or unchecked on Button click in ASP.Net.
01 Dec 2014 01 Jun 2022 19 Comments  455517 Views
Here Mudassar Khan has explained how to implement a Multiple Select (MultiSelect) DropDownList with CheckBoxes in ASP.Net using jQuery Bootstrap Multi-Select Plugin.

In order to implement a Multiple Select (MultiSelect) DropDownList with CheckBoxes in ASP.Net we will need to make use of ListBox control and apply the jQuery Bootstrap Multi-Select Plugin to it.
29 Oct 2014 14 Mar 2021 1 Comments  91081 Views
Here Mudassar Ahmed Khan has explained how to set (Check \ Uncheck) CheckBox in GridView based on DataTable value from Database in ASP.Net using C# and VB.Net.
11 Sep 2014 14 Mar 2021 3 Comments  81404 Views
Here Mudassar Ahmed Khan has explained how to populate (bind) CheckBox in GridView from database in ASP.Net using C# and VB.Net.

This article also explains how to save the CheckBox checked (selected) values to database in ASP.Net using C# and VB.Net.
31 Jan 2014 04 Jul 2019 0 Comments  68254 Views
Here Mudassar Ahmed Khan has explained with an example, how to validate CheckBoxes inside GridView and perform at least one CheckBox checked validation using ASP.Net CustomValidator and JavaScript in ASP.Net.

When the Button is clicked, the ASP.Net CustomValidator triggers the JavaScript function and using a FOR loop, the GridView CheckBoxes are traversed and a validation to make sure whether at least one CheckBox is checked is performed.

Validation of CheckBoxes inside GridView is performed using ASP.Net CustomValidator with a client side JavaScript validation function.
30 Jun 2013 26 Dec 2018 18 Comments  483972 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the selected rows of GridView using CheckBox in ASP.Net with C# and VB.Net.

When the Button to get the selected rows of GridView is clicked, 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.
21 May 2013 16 May 2019 2 Comments  39947 Views
Here Mudassar Ahmed Khan has explained with an example, how to export TemplateField columns of the ASP.Net GridView control to Excel file in ASP.Net using C# and VB.Net.

When the GridView TemplateField columns contain controls like HyperLink, TextBox, Button, LinkButton, RadioButton or CheckBox controls then such controls need to be replaced with Literal control and then the GridView is exported to Excel file in ASP.Net using C# and VB.Net.
14 May 2013 14 May 2013 0 Comments  48527 Views
Here Mudassar Ahmed Khan has explained with an example, how to export only selected columns of GridView to Excel Sheet in ASP.Net using C# and VB.Net.

The user will be allowed to select the Columns to be exported to Excel File with the help of CheckBoxes and thus only the fields which are selected will be exported to Excel Sheet in ASP.Net using C# and VB.Net.
29 Jun 2009 13 Dec 2018 18 Comments  77206 Views
Here Mudassar Ahmed Khan has explained with an example, how to make CheckBoxList mutually exclusive i.e. make it work similar to RadioButtonList where user can select only one item (option) from the list of items (options) and at the same time it is possible to uncheck all CheckBoxes in CheckBoxList which is not possible in the case of RadioButtonList.
Results 101 - 114 of 114