Results 16 - 20 of 84
07 Jan 2019 07 Jan 2019 0 Comments  827 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBox Row (Cell) values of GridView using JavaScript in ASP.Net.

When the Button is clicked, all the CheckBoxes inside the GridView will be referenced and then the Row (Cell) values of selected (checked) CheckBoxes will be extracted and displayed using JavaScript Alert Message Box.
01 Jan 2019 01 Jan 2019 0 Comments  468 Views
Here Mudassar Ahmed Khan has explained with an example, how to change TextBox TextMode to Password using JavaScript.

The TextMode of a TextBox is decided by its Type attribute i.e. text or password.

HTML does not allow the Type attribute to be modified with JavaScript at runtime and hence the same can be achieved by creating a dynamic TextBox next to the Password TextBox and hiding the Password TextBox.
27 Dec 2018 27 Dec 2018 0 Comments  714 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 0 Comments  730 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  1080 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.
Results 16 - 20 of 84