Category - CheckBox
Results 61 - 80 of 119
21 Sep 2018 21 Sep 2018 0 Comments  26493 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  12466 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  16895 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  44142 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  10353 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  42502 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.
26 Apr 2018 26 Apr 2018 0 Comments  23688 Views
Here Mudassar Ahmed Khan has explained with an example, how to get selected (checked) CheckBoxes of TreeView on Button click in ASP.Net using C# and VB.Net.

When the Button is clicked, all the selected (checked) CheckBoxes are fetched and displayed using JavaScript Alert Message Box.
24 Apr 2018 24 Apr 2018 0 Comments  21277 Views
Here Mudassar Ahmed Khan has explained with an example, how add CheckBox to WebGrid Header Row in ASP.Net MVC Razor.
24 Apr 2018 24 Apr 2018 0 Comments  7573 Views
Here Mudassar Ahmed Khan has explained with an example, how to retain selection of CheckBox inside WebGrid on PostBack (Form Submit) in ASP.Net MVC Razor.
24 Apr 2018 24 Jul 2018 0 Comments  23892 Views
Here Mudassar Ahmed Khan has explained with an example, how to check all (select all) CheckBoxes in WebGrid using a CheckBox in Header row in ASP.Net MVC Razor.

The first column of WebGrid will contain the CheckBoxes and the check all (select all) CheckBoxes functionality will be implemented using jQuery in ASP.Net MVC Razor.

When the Header row CheckBox is checked (selected), all the row CheckBoxes will be checked (selected) and when the Header row CheckBox is unchecked (deselected), all the row CheckBoxes will be unchecked (deselected).
11 Apr 2018 11 Apr 2018 0 Comments  11466 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Horizontal CheckedListBox control in Windows Forms (WinForms) Application using C# and VB.Net.

By default, it is not possible to create a Horizontal CheckedListBox control and hence dynamic CheckBoxes can be created and added into a FlowLayoutPanel.
11 Apr 2018 11 Apr 2018 0 Comments  16146 Views
Here Mudassar Ahmed Khan has explained with an example, how to assign dynamic CheckChanged event to CheckBox in Windows Forms (WinForms) Application using C# and VB.Net.
09 Apr 2018 09 Apr 2018 0 Comments  18076 Views
Here Mudassar Ahmed Khan has explained with an example, how to create dynamic CheckBoxes from Database in Windows Forms (WinForms) Application using C# and VB.Net.

The dynamic CheckBoxes will be created inside FlowLayoutPanel and will be assigned with dynamic CheckChanged event handler.
04 Apr 2018 04 Apr 2018 0 Comments  13413 Views
Here Mudassar Ahmed Khan has explained with an example, how to Filter DataGridView using Multiple CheckBoxes in Windows Forms Application using C# and VB.Net.

By default the DataGridView will show all records. As soon as user selects a CheckBox, the records will be searched in Database and the DataGridView rows will be filtered in Windows Forms (WinForms) Application using C# and VB.Net.
15 Dec 2017 15 Dec 2017 1 Comments  53833 Views
Here Mudassar Ahmed Khan has explained with an example, how to add check all (select all) and uncheck all (unselect all) CheckBox in Header row of DataGridView in Windows Forms Application using C# and VB.Net.

This article will also illustrate, how to check all (select all) and uncheck all (unselect all) CheckBoxes in DataGridView using Header row CheckBox in Windows Forms Application using C# and VB.Net.
15 Dec 2017 15 Dec 2017 1 Comments  54636 Views
Here Mudassar Ahmed Khan has explained with an example, how to check all (select all) and uncheck all (deselect all) CheckBoxes in DataGridView in Windows Forms Application using C# and VB.Net.
13 Dec 2017 13 Dec 2017 0 Comments  63894 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) multiple CheckBox values from View to Controller in ASP.Net MVC Razor.

Multiple CheckBoxes will be populated from 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 MVC Razor.
13 Dec 2017 13 Dec 2017 4 Comments  51945 Views
Here Mudassar Ahmed Khan has explained with an example, how to save (insert) multiple CheckBoxes (CheckBoxList) values to database using Entity Framework in ASP.Net MVC Razor.

The CheckBoxes (CheckBoxList) will also be populated with selected values from database using Entity Framework in ASP.Net MVC Razor.
05 Dec 2017 05 Dec 2017 0 Comments  42724 Views
Here Mudassar Ahmed Khan has explained with an example, how to get the value of the HTML Input CheckBox in ASP.Net Code Behind (Server Side) using C# and VB.Net.

The values of multiple checked HTML Input CheckBoxes will be fetched in ASP.Net Code Behind (Server Side) using Request.Form collection and Name property.
10 Nov 2017 10 Nov 2017 0 Comments  22106 Views
Here Mudassar Ahmed Khan has explained with an example, how to transfer (copy) selected (checked) rows from one DataGridView to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

When the Transfer button is clicked, a loop will be executed and all the rows of DataGridView for which the CheckBox is checked (selected) will be transferred (copied) to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
Results 61 - 80 of 119