Results 41 - 45 of 92
26 Jul 2018 26 Jul 2018 0 Comments  8563 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 0 Comments  3743 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  6052 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  5855 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  5074 Views
Here Mudassar Ahmed Khan has explained with an example, how add CheckBox to WebGrid Header Row in ASP.Net MVC Razor.
Results 41 - 45 of 92