Category - MVC
Results 6 - 10 of 704
30 Apr 2021 30 Apr 2021 0 Comments  257 Views
ASP.Net  AJAX  jQuery  MVC
Here Mudassar Ahmed Khan has explained with an example, how to use EmptyResult in ASP.Net MVC Razor.

EmptyResult is a class in ASP.Net MVC whose object is returned in case when NULL value or Nothing needs to be returned from Controller to View in ASP.Net MVC Razor.
29 Apr 2021 29 Apr 2021 0 Comments  299 Views
ASP.Net  AJAX  jQuery  MVC  Form
Here Mudassar Ahmed Khan has explained with an example, how to return Boolean (BOOL) value from ActionResult (Action Method) in ASP.Net MVC Razor.

In order to return a Boolean (BOOL) value from ActionResult (Action Method), Json function is used in ASP.Net MVC Razor.
29 Apr 2021 29 Apr 2021 0 Comments  361 Views
ASP.Net  AJAX  jQuery  MVC  Form
Here Mudassar Ahmed Khan has explained with an example, how to submit (post) a Form and send data from View to Controller using jQuery AJAX in ASP.Net MVC Razor.

This article will explain how to create Form Fields and then send data from View to Controller using Form Collection and jQuery AJAX in ASP.Net MVC Razor.
29 Apr 2021 29 Apr 2021 0 Comments  313 Views
Here Mudassar Ahmed Khan has explained with an example, how to update data into Database using jQuery AJAX and Entity Framework in ASP.Net MVC Razor.

When the Update Button is clicked, the UpdateCustomer Action method is called using jQuery AJAX and the details of Customer are sent as JSON object.

Finally, a Boolean response is sent to the View which indicates that the record was successfully updated or not.
28 Apr 2021 28 Apr 2021 0 Comments  329 Views
Here Mudassar Ahmed Khan has explained with an example, how to insert data to Database using jQuery AJAX in ASP.Net MVC Razor.

The data will be inserted in SQL Server Database using Entity Framework in ASP.Net MVC Razor.

Finally, after insertion the ID of the inserted Customer record is returned back to the View in ASP.Net MVC Razor.
Results 6 - 10 of 704