Category - Core
Results 1 - 5 of 137
09 Apr 2021 09 Apr 2021 0 Comments  383 Views
Here Mudassar Ahmed Khan has explained with an example, how to display message using JavaScript Alert MessageBox in ASP.Net Core Razor Pages.

The message sent from Razor PageModel (Code-Behind) to Razor PageModel (HTML) will be displayed in JavaScript Alert MessageBox using ViewData object.
07 Apr 2021 07 Apr 2021 0 Comments  436 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  508 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  473 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) RadioButton value from View to Controller in ASP.Net Core MVC.

The RadioButtons will be populated from SQL Server database and when the Form is submitted, the value of the selected (checked) RadioButton will be sent to the Controller in ASP.Net Core MVC.
14 Mar 2021 14 Mar 2021 0 Comments  1184 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.
Results 1 - 5 of 137